Auth_OpenID_DumbStore Klassenreferenz

Abgeleitet von Auth_OpenID_OpenIDStore.

Zusammengehörigkeiten von Auth_OpenID_DumbStore:

Collaboration graph
[Legende]

Öffentliche Methoden

 Auth_OpenID_DumbStore ($secret_phrase)
 storeAssociation ($server_url, $association)
 getAssociation ($server_url, $handle=null)
 removeAssociation ($server_url, $handle)
 useNonce ($server_url, $timestamp, $salt)
 getAuthKey ()

Ausführliche Beschreibung

Definiert in Zeile 34 der Datei DumbStore.php.


Dokumentation der Elementfunktionen

Auth_OpenID_DumbStore ( secret_phrase  ) 

Creates a new Auth_OpenID_DumbStore instance. For the security of the tokens generated by the library, this class attempts to at least have a secure implementation of getAuthKey.

When you create an instance of this class, pass in a secret phrase. The phrase is hashed with sha1 to make it the correct length and form for an auth key. That allows you to use a long string as the secret phrase, which means you can make it very difficult to guess.

Each Auth_OpenID_DumbStore instance that is created for use by your consumer site needs to use the same $secret_phrase.

Parameter:
string secret_phrase The phrase used to create the auth key returned by getAuthKey

Definiert in Zeile 53 der Datei DumbStore.php.

00054     {
00055         $this->auth_key = Auth_OpenID_SHA1($secret_phrase);
00056     }

getAssociation ( server_url,
handle = null 
)

This implementation always returns null.

Erneute Implementation von Auth_OpenID_OpenIDStore.

Definiert in Zeile 68 der Datei DumbStore.php.

00069     {
00070         return null;
00071     }

getAuthKey (  ) 

This method returns the auth key generated by the constructor.

Definiert in Zeile 94 der Datei DumbStore.php.

00095     {
00096         return $this->auth_key;
00097     }

removeAssociation ( server_url,
handle 
)

This implementation always returns false.

Erneute Implementation von Auth_OpenID_OpenIDStore.

Definiert in Zeile 76 der Datei DumbStore.php.

00077     {
00078         return false;
00079     }

storeAssociation ( server_url,
association 
)

This implementation does nothing.

Erneute Implementation von Auth_OpenID_OpenIDStore.

Definiert in Zeile 61 der Datei DumbStore.php.

00062     {
00063     }

useNonce ( server_url,
timestamp,
salt 
)

In a system truly limited to dumb mode, nonces must all be accepted. This therefore always returns true, which makes replay attacks feasible.

Erneute Implementation von Auth_OpenID_OpenIDStore.

Definiert in Zeile 86 der Datei DumbStore.php.

00087     {
00088         return true;
00089     }


Die Dokumentation für diese Klasse wurde erzeugt aufgrund der Datei:
Copyright © 2003 - 2009 MyOOS [Shopsystem]. All rights reserved.
MyOOS [Shopsystem] is Free Software released under the GNU/GPL License.

Webmaster: info@r23.de (Impressum)
doxygen