Lines Matching refs:auth
23 private $auth; variable in Sabre\\HTTP\\Auth\\AWSTest
31 $this->auth = new AWS(self::REALM, $this->request, $this->response);
38 $result = $this->auth->init();
41 $this->assertEquals(AWS::ERR_NOAWSHEADER, $this->auth->errorCode);
57 $this->auth->init();
58 $result = $this->auth->validate($secretKey);
61 $this->assertEquals(AWS::ERR_MD5CHECKSUMWRONG, $this->auth->errorCode);
80 $this->auth->init();
81 $result = $this->auth->validate($secretKey);
84 $this->assertEquals(AWS::ERR_INVALIDDATEFORMAT, $this->auth->errorCode);
108 $this->auth->init();
109 $result = $this->auth->validate($secretKey);
112 $this->assertEquals(AWS::ERR_REQUESTTIMESKEWED, $this->auth->errorCode);
136 $this->auth->init();
137 $result = $this->auth->validate($secretKey);
140 $this->assertEquals(AWS::ERR_REQUESTTIMESKEWED, $this->auth->errorCode);
167 $this->auth->init();
168 $result = $this->auth->validate($secretKey);
171 $this->assertEquals(AWS::ERR_INVALIDSIGNATURE, $this->auth->errorCode);
201 $this->auth->init();
202 $result = $this->auth->validate($secretKey);
204 … $this->assertTrue($result, 'Signature did not validate, got errorcode ' . $this->auth->errorCode);
205 $this->assertEquals($accessKey, $this->auth->getAccessKey());
211 $this->auth->requireLogin();