Lines Matching refs:this

64         $this->directory = $directory;
65 $this->active = true;
67 $this->nonce_dir = $directory . DIRECTORY_SEPARATOR . 'nonces';
69 $this->association_dir = $directory . DIRECTORY_SEPARATOR .
74 $this->temp_dir = $directory . DIRECTORY_SEPARATOR . 'temp';
76 $this->max_nonce_age = 6 * 60 * 60; // Six hours, in seconds
78 if (!$this->_setup()) {
86 Auth_OpenID_FileStore::_rmtree($this->directory);
87 $this->active = false;
98 return (Auth_OpenID::ensureDir($this->nonce_dir) &&
99 Auth_OpenID::ensureDir($this->association_dir) &&
100 Auth_OpenID::ensureDir($this->temp_dir));
117 $name = Auth_OpenID_FileStore::_mkstemp($dir = $this->temp_dir);
131 $nonces = Auth_OpenID_FileStore::_listdir($this->nonce_dir);
162 if (!$this->active) {
186 return $this->association_dir. DIRECTORY_SEPARATOR . $filename;
198 if (!$this->active) {
204 $filename = $this->getAssociationFilename($server_url,
206 list($tmp_file, $tmp) = $this->_mktemp();
250 if (!$this->active) {
261 $filename = $this->getAssociationFilename($server_url, $handle);
264 return $this->_getAssociation($filename);
267 Auth_OpenID_FileStore::_listdir($this->association_dir);
282 $association = $this->_getAssociation($full_name);
318 if (!$this->active) {
371 if (!$this->active) {
376 $assoc = $this->getAssociation($server_url, $handle);
380 $filename = $this->getAssociationFilename($server_url, $handle);
398 if (!$this->active) {
415 $domain = $this->_filenameEscape($parts[0]);
416 $url_hash = $this->_safe64($server_url);
417 $salt_hash = $this->_safe64($salt);
421 $filename = $this->nonce_dir . DIRECTORY_SEPARATOR . $filename;
444 Auth_OpenID_FileStore::_listdir($this->association_dir);
478 if (!$this->active) {
483 $nonces = Auth_OpenID_FileStore::_listdir($this->nonce_dir);
489 $filename = $this->nonce_dir . DIRECTORY_SEPARATOR . $nonce;
494 foreach ($this->_allAssocs() as $pair) {
659 foreach ($this->_allAssocs() as $pair) {
663 $this->_removeIfPresent($assoc_filename);