| [ Indice ] |
Riferimento incrociato di Joomla! 1.5.14 - VM 1.1.4Servizio fornito da VMItalia |
[Vedi sorgente] [Stampa] [Statistiche Progetto]
This file specifies the interface for PHP OpenID store implementations. PHP versions 4 and 5
| Author: | JanRain, Inc. <openid@janrain.com> |
| Copyright: | 2005-2008 Janrain, Inc. |
| License: | http://www.apache.org/licenses/LICENSE-2.0 Apache |
| Dimensione file: | 200 righe (7 kb) |
| Incluso o richiesto: | 0 volte |
| Referenziato: | 0 volte |
| Inclusioni o richieste: | 0 files |
Auth_OpenID_OpenIDStore:: (9 metodi):
storeAssociation()
cleanupNonces()
cleanupAssociations()
cleanup()
supportsCleanup()
getAssociation()
removeAssociation()
useNonce()
reset()
Classe: Auth_OpenID_OpenIDStore - X-Ref
This is the interface for the store objects the OpenID library| storeAssociation($server_url, $association) X-Ref |
| This method puts an Association object into storage, retrievable by server URL and handle. param: string $server_url The URL of the identity server that param: Association $association The Association to store. |
| cleanupNonces() X-Ref |
| Nessuna descrizione |
| cleanupAssociations() X-Ref |
| Nessuna descrizione |
| cleanup() X-Ref |
| Nessuna descrizione |
| supportsCleanup() X-Ref |
| Report whether this storage supports cleanup |
| getAssociation($server_url, $handle = null) X-Ref |
| This method returns an Association object from storage that matches the server URL and, if specified, handle. It returns null if no such association is found or if the matching association is expired. If no handle is specified, the store may return any association which matches the server URL. If multiple associations are valid, the recommended return value for this method is the one most recently issued. This method is allowed (and encouraged) to garbage collect expired associations when found. This method must not return expired associations. param: string $server_url The URL of the identity server to get param: mixed $handle This optional parameter is the handle of return: Association The Association for the given identity |
| removeAssociation($server_url, $handle) X-Ref |
| This method removes the matching association if it's found, and returns whether the association was removed or not. param: string $server_url The URL of the identity server the param: string $handle This is the handle of the association to return: mixed Returns whether or not the given association existed. |
| useNonce($server_url, $timestamp, $salt) X-Ref |
| Called when using a nonce. This method should return C{True} if the nonce has not been used before, and store it for a while to make sure nobody tries to use the same value again. If the nonce has already been used, return C{False}. Change: In earlier versions, round-trip nonces were used and a nonce was only valid if it had been previously stored with storeNonce. Version 2.0 uses one-way nonces, requiring a different implementation here that does not depend on a storeNonce call. (storeNonce is no longer part of the interface. param: string $nonce The nonce to use. return: bool Whether or not the nonce was valid. |
| reset() X-Ref |
| Removes all entries from the store; implementation is optional. |
| Generato il: Mon Oct 19 20:29:27 2009 | Generato con PHPXref 0.7 |