Lines Matching refs:auth
25 private $auth; variable in Sabre\\HTTP\\Auth\\DigestTest
33 $this->auth = new Digest(self::REALM, $this->request, $this->response);
59 $this->auth->init();
61 $this->assertEquals($username, $this->auth->getUserName());
62 $this->assertEquals(self::REALM, $this->auth->getRealm());
63 …$this->assertTrue($this->auth->validateA1(md5($username . ':' . self::REALM . ':' . $password)), '…
64 …$this->assertTrue($this->auth->validatePassword($password), 'Authentication is deemed invalid thro…
89 $this->auth->init();
91 …$this->assertFalse($this->auth->validateA1(md5($username . ':' . self::REALM . ':' . ($password . …
100 $this->auth->init();
101 $this->assertFalse($this->auth->validateA1(md5('user:realm:password')));
108 $this->auth->setQOP(Digest::QOP_AUTHINT);
129 $this->auth->init();
131 …$this->assertTrue($this->auth->validateA1(md5($username . ':' . self::REALM . ':' . $password)), '…
137 $this->auth->setQOP(Digest::QOP_AUTHINT | Digest::QOP_AUTH);
158 $this->auth->init();
160 …$this->assertTrue($this->auth->validateA1(md5($username . ':' . self::REALM . ':' . $password)), '…
167 $this->auth->requireLogin();
185 $this->auth->setQOP($qop);