ILIAS
Release_4_2_x_branch Revision 61807
|
Go to the source code of this file.
Data Structures | |
class | Auth_OpenID_Mapping |
class | Auth_OpenID_NamespaceMap |
class | Auth_OpenID_Message |
Namespaces | |
namespace | OpenID |
This module contains code for dealing with associations between consumers and servers. |
Functions | |
Auth_OpenID_isOpenID1 ($ns) | |
Auth_OpenID_registerNamespaceAlias ($namespace_uri, $alias) | |
Registers a (namespace URI, alias) mapping in a global namespace alias map. | |
Auth_OpenID_removeNamespaceAlias ($namespace_uri, $alias) | |
Removes a (namespace_uri, alias) registration from the global namespace alias map. |
Variables | |
const | Auth_OpenID_IDENTIFIER_SELECT = "http://specs.openid.net/auth/2.0/identifier_select" |
Import tools needed to deal with messages. | |
const | Auth_OpenID_SREG_URI = 'http://openid.net/sreg/1.0' |
const | Auth_OpenID_OPENID1_NS = 'http://openid.net/signon/1.0' |
const | Auth_OpenID_THE_OTHER_OPENID1_NS = 'http://openid.net/signon/1.1' |
const | Auth_OpenID_OPENID2_NS = 'http://specs.openid.net/auth/2.0' |
const | Auth_OpenID_NULL_NAMESPACE = 'Null namespace' |
const | Auth_OpenID_OPENID_NS = 'OpenID namespace' |
const | Auth_OpenID_BARE_NS = 'Bare namespace' |
const | Auth_OpenID_NO_DEFAULT = 'NO DEFAULT ALLOWED' |
const | Auth_OpenID_OPENID1_URL_LIMIT = 2047 |
global | $Auth_OpenID_OPENID_PROTOCOL_FIELDS |
global | $Auth_OpenID_registered_aliases = array() |
Auth_OpenID_isOpenID1 | ( | $ns | ) |
Definition at line 28 of file Message.php.
References Auth_OpenID_OPENID1_NS, and Auth_OpenID_THE_OTHER_OPENID1_NS.
Referenced by Auth_OpenID_Message\Auth_OpenID_Message(), and Auth_OpenID_Message\isOpenID1().
Auth_OpenID_registerNamespaceAlias | ( | $namespace_uri, | |
$alias | |||
) |
Registers a (namespace URI, alias) mapping in a global namespace alias map.
Raises NamespaceAliasRegistrationError if either the namespace URI or alias has already been registered with a different value. This function is required if you want to use a namespace with an OpenID 1 message.
Definition at line 77 of file Message.php.
Auth_OpenID_removeNamespaceAlias | ( | $namespace_uri, | |
$alias | |||
) |
Removes a (namespace_uri, alias) registration from the global namespace alias map.
Returns true if the removal succeeded; false if not (if the mapping did not exist).
Definition at line 104 of file Message.php.
$Auth_OpenID_OPENID_PROTOCOL_FIELDS |
Definition at line 57 of file Message.php.
Referenced by Auth_OpenID_NamespaceMap\addAlias().
$Auth_OpenID_registered_aliases = array() |
Definition at line 67 of file Message.php.
Referenced by Auth_OpenID_Message\_getDefaultNamespace().
const Auth_OpenID_BARE_NS = 'Bare namespace' |
Definition at line 46 of file Message.php.
Referenced by Auth_OpenID_GenericConsumer\_idResGetNonceOpenID1(), Auth_OpenID_GenericConsumer\_verifyDiscoveryResultsOpenID1(), Auth_OpenID_GenericConsumer\_verifyReturnToArgs(), Auth_OpenID_Message\fromPostArgs(), Auth_OpenID_Message\getKey(), and Auth_OpenID_Message\setArg().
const Auth_OpenID_IDENTIFIER_SELECT = "http://specs.openid.net/auth/2.0/identifier_select" |
Import tools needed to deal with messages.
Definition at line 18 of file Message.php.
Referenced by Auth_OpenID_CheckIDRequest\answer(), Auth_OpenID_AuthRequest\getMessage(), and Auth_OpenID_CheckIDRequest\idSelect().
const Auth_OpenID_NO_DEFAULT = 'NO DEFAULT ALLOWED' |
Definition at line 50 of file Message.php.
Referenced by Auth_OpenID_GenericConsumer\_doIdRes(), Auth_OpenID_GenericConsumer\_extractAssociation(), Auth_OpenID_GenericConsumer\_idResCheckForFields(), and Auth_OpenID_Message\getArg().
const Auth_OpenID_NULL_NAMESPACE = 'Null namespace' |
Definition at line 39 of file Message.php.
Referenced by Auth_OpenID_NamespaceMap\addAlias(), Auth_OpenID_Message\getKey(), Auth_OpenID_Message\setOpenIDNamespace(), and Auth_OpenID_Message\toPostArgs().
const Auth_OpenID_OPENID1_NS = 'http://openid.net/signon/1.0' |
Definition at line 25 of file Message.php.
Referenced by Auth_OpenID_GenericConsumer\_checkSetupNeeded(), Auth_OpenID_GenericConsumer\_complete_id_res(), Auth_OpenID_GenericConsumer\_getOpenID1SessionType(), Auth_OpenID_GenericConsumer\_idResCheckForFields(), Auth_OpenID_GenericConsumer\_verifyDiscoveryResultsOpenID1(), Auth_OpenID_GenericConsumer\_verifyDiscoverySingle(), Auth_OpenID_isOpenID1(), Auth_OpenID_Message\Auth_OpenID_Message(), and Auth_OpenID_ServiceEndpoint\preferredNamespace().
const Auth_OpenID_OPENID1_URL_LIMIT = 2047 |
Definition at line 54 of file Message.php.
Referenced by Auth_OpenID_ServerError\whichEncoding(), and Auth_OpenID_ServerResponse\whichEncoding().
const Auth_OpenID_OPENID2_NS = 'http://specs.openid.net/auth/2.0' |
Definition at line 35 of file Message.php.
Referenced by Auth_OpenID_GenericConsumer\_complete_setup_needed(), Auth_OpenID_GenericConsumer\_createAssociateRequest(), Auth_OpenID_GenericConsumer\_extractAssociation(), Auth_OpenID_GenericConsumer\_idResCheckForFields(), Auth_OpenID_GenericConsumer\_idResCheckNonce(), Auth_OpenID_GenericConsumer\_verifyDiscoveryResults(), Auth_OpenID_GenericConsumer\_verifyDiscoveryResultsOpenID2(), Auth_OpenID_AssociateRequest\Auth_OpenID_AssociateRequest(), Auth_OpenID_CheckAuthRequest\Auth_OpenID_CheckAuthRequest(), Auth_OpenID_CheckIDRequest\Auth_OpenID_CheckIDRequest(), Auth_OpenID_Message\Auth_OpenID_Message(), Auth_OpenID_ServiceEndpoint\compatibilityMode(), Auth_OpenID_Decoder\decode(), Auth_OpenID_AuthRequest\getMessage(), Auth_OpenID_Message\isOpenID2(), and Auth_OpenID_ServiceEndpoint\preferredNamespace().
const Auth_OpenID_OPENID_NS = 'OpenID namespace' |
Definition at line 42 of file Message.php.
Referenced by Auth_OpenID_GenericConsumer\_checkReturnTo(), Auth_OpenID_GenericConsumer\_complete_error(), Auth_OpenID_GenericConsumer\_completeInvalid(), Auth_OpenID_GenericConsumer\_createCheckAuthRequest(), Auth_OpenID_GenericConsumer\_doIdRes(), Auth_OpenID_GenericConsumer\_extractAssociation(), Auth_OpenID_GenericConsumer\_extractSupportedAssociationType(), Auth_OpenID_GenericConsumer\_idResCheckForFields(), Auth_OpenID_GenericConsumer\_idResCheckSignature(), Auth_OpenID_Association\_makePairs(), Auth_OpenID_GenericConsumer\_processCheckAuthResponse(), Auth_OpenID_GenericConsumer\_verifyReturnToArgs(), Auth_OpenID_CheckAuthRequest\answer(), Auth_OpenID_AssociateRequest\answer(), Auth_OpenID_CheckIDRequest\answer(), Auth_OpenID_AssociateRequest\answerUnsupported(), Auth_OpenID_Association\checkMessageSignature(), Auth_OpenID_GenericConsumer\complete(), Auth_OpenID_Decoder\decode(), Auth_OpenID_Decoder\defaultDecoder(), Auth_OpenID_SigningEncoder\encode(), Auth_OpenID_CheckIDRequest\encodeToURL(), Auth_OpenID_DiffieHellmanSHA1ConsumerSession\extractSecret(), Auth_OpenID_PlainTextConsumerSession\extractSecret(), Auth_OpenID_CheckAuthRequest\fromMessage(), Auth_OpenID_AssociateRequest\fromMessage(), Auth_OpenID_CheckIDRequest\fromMessage(), Auth_OpenID_ServerErrorContainer\fromMessage(), Auth_OpenID_CheckIDRequest\getCancelURL(), Auth_OpenID_DiffieHellmanSHA1ServerSession\getDH(), Auth_OpenID_AuthRequest\getMessage(), Auth_OpenID_ServerError\getReturnTo(), Auth_OpenID_SuccessResponse\getReturnTo(), Auth_OpenID_ServerResponse\needsSigning(), Auth_OpenID_Signatory\sign(), Auth_OpenID_Association\signMessage(), Auth_OpenID_ServerError\toMessage(), and Auth_OpenID_ServerError\whichEncoding().
const Auth_OpenID_SREG_URI = 'http://openid.net/sreg/1.0' |
Definition at line 22 of file Message.php.
const Auth_OpenID_THE_OTHER_OPENID1_NS = 'http://openid.net/signon/1.1' |
Definition at line 26 of file Message.php.
Referenced by Auth_OpenID_isOpenID1(), and Auth_OpenID_Message\Auth_OpenID_Message().