TYPO3 CMS  TYPO3_6-2
Interface.php
Go to the documentation of this file.
1 <?php
2 
44  function storeAssociation($server_url, $association)
45  {
46  trigger_error("Auth_OpenID_OpenIDStore::storeAssociation ".
47  "not implemented", E_USER_ERROR);
48  }
49 
50  /*
51  * Remove expired nonces from the store.
52  *
53  * Discards any nonce from storage that is old enough that its
54  * timestamp would not pass useNonce().
55  *
56  * This method is not called in the normal operation of the
57  * library. It provides a way for store admins to keep their
58  * storage from filling up with expired data.
59  *
60  * @return the number of nonces expired
61  */
62  function cleanupNonces()
63  {
64  trigger_error("Auth_OpenID_OpenIDStore::cleanupNonces ".
65  "not implemented", E_USER_ERROR);
66  }
67 
68  /*
69  * Remove expired associations from the store.
70  *
71  * This method is not called in the normal operation of the
72  * library. It provides a way for store admins to keep their
73  * storage from filling up with expired data.
74  *
75  * @return the number of associations expired.
76  */
78  {
79  trigger_error("Auth_OpenID_OpenIDStore::cleanupAssociations ".
80  "not implemented", E_USER_ERROR);
81  }
82 
83  /*
84  * Shortcut for cleanupNonces(), cleanupAssociations().
85  *
86  * This method is not called in the normal operation of the
87  * library. It provides a way for store admins to keep their
88  * storage from filling up with expired data.
89  */
90  function cleanup()
91  {
92  return array($this->cleanupNonces(),
93  $this->cleanupAssociations());
94  }
95 
99  function supportsCleanup()
100  {
101  return true;
102  }
103 
134  function getAssociation($server_url, $handle = null)
135  {
136  trigger_error("Auth_OpenID_OpenIDStore::getAssociation ".
137  "not implemented", E_USER_ERROR);
138  }
139 
158  function removeAssociation($server_url, $handle)
159  {
160  trigger_error("Auth_OpenID_OpenIDStore::removeAssociation ".
161  "not implemented", E_USER_ERROR);
162  }
163 
183  function useNonce($server_url, $timestamp, $salt)
184  {
185  trigger_error("Auth_OpenID_OpenIDStore::useNonce ".
186  "not implemented", E_USER_ERROR);
187  }
188 
192  function reset()
193  {
194  }
195 
196 }
removeAssociation($server_url, $handle)
Definition: Interface.php:158
if(!defined('ADODB_ERROR_HANDLER_TYPE')) define('ADODB_ERROR_HANDLER_TYPE' E_USER_ERROR
useNonce($server_url, $timestamp, $salt)
Definition: Interface.php:183
storeAssociation($server_url, $association)
Definition: Interface.php:44
getAssociation($server_url, $handle=null)
Definition: Interface.php:134