Interface.php

Go to the documentation of this file.
00001 <?php
00002 
00030 class Auth_OpenID_OpenIDStore {
00044     function storeAssociation($server_url, $association)
00045     {
00046         trigger_error("Auth_OpenID_OpenIDStore::storeAssociation ".
00047                       "not implemented", E_USER_ERROR);
00048     }
00049 
00050     /*
00051      * Remove expired nonces from the store.
00052      *
00053      * Discards any nonce from storage that is old enough that its
00054      * timestamp would not pass useNonce().
00055      *
00056      * This method is not called in the normal operation of the
00057      * library.  It provides a way for store admins to keep their
00058      * storage from filling up with expired data.
00059      *
00060      * @return the number of nonces expired
00061      */
00062     function cleanupNonces()
00063     {
00064         trigger_error("Auth_OpenID_OpenIDStore::cleanupNonces ".
00065                       "not implemented", E_USER_ERROR);
00066     }
00067 
00068     /*
00069      * Remove expired associations from the store.
00070      *
00071      * This method is not called in the normal operation of the
00072      * library.  It provides a way for store admins to keep their
00073      * storage from filling up with expired data.
00074      *
00075      * @return the number of associations expired.
00076      */
00077     function cleanupAssociations()
00078     {
00079         trigger_error("Auth_OpenID_OpenIDStore::cleanupAssociations ".
00080                       "not implemented", E_USER_ERROR);
00081     }
00082 
00083     /*
00084      * Shortcut for cleanupNonces(), cleanupAssociations().
00085      *
00086      * This method is not called in the normal operation of the
00087      * library.  It provides a way for store admins to keep their
00088      * storage from filling up with expired data.
00089      */
00090     function cleanup()
00091     {
00092         return array($this->cleanupNonces(),
00093                      $this->cleanupAssociations());
00094     }
00095 
00099     function supportsCleanup()
00100     {
00101         return true;
00102     }
00103 
00134     function getAssociation($server_url, $handle = null)
00135     {
00136         trigger_error("Auth_OpenID_OpenIDStore::getAssociation ".
00137                       "not implemented", E_USER_ERROR);
00138     }
00139 
00158     function removeAssociation($server_url, $handle)
00159     {
00160         trigger_error("Auth_OpenID_OpenIDStore::removeAssociation ".
00161                       "not implemented", E_USER_ERROR);
00162     }
00163 
00183     function useNonce($server_url, $timestamp, $salt)
00184     {
00185         trigger_error("Auth_OpenID_OpenIDStore::useNonce ".
00186                       "not implemented", E_USER_ERROR);
00187     }
00188 
00192     function reset()
00193     {
00194     }
00195 
00196 }
00197 ?>

Generated on Thu Feb 19 15:02:21 2009 for OXID eShop CE by  doxygen 1.5.5