ILIAS
Release_5_0_x_branch Revision 61816
|
A Provider Authentication Policy request, sent from a relying party to a provider. More...
Public Member Functions | |
Auth_OpenID_PAPE_Request ($preferred_auth_policies=null, $max_auth_age=null) | |
addPolicyURI ($policy_uri) | |
Add an acceptable authentication policy URI to this request. | |
getExtensionArgs () | |
Get the string arguments that should be added to an OpenID message for this extension. | |
parseExtensionArgs ($args) | |
Set the state of this request to be that expressed in these PAPE arguments. | |
preferredTypes ($supported_types) | |
Given a list of authentication policy URIs that a provider supports, this method returns the subsequence of those types that are preferred by the relying party. | |
Public Member Functions inherited from Auth_OpenID_Extension | |
toMessage ($message) | |
Add the arguments from this extension to the provided message. |
Static Public Member Functions | |
static | fromOpenIDRequest ($request) |
Instantiate a Request object from the arguments in a checkid_* OpenID message. |
Data Fields | |
$ns_alias = 'pape' | |
$ns_uri = Auth_OpenID_PAPE_NS_URI | |
Data Fields inherited from Auth_OpenID_Extension | |
$ns_uri = null | |
ns_uri: The namespace to which to add the arguments for this extension | |
$ns_alias = null |
A Provider Authentication Policy request, sent from a relying party to a provider.
preferred_auth_policies: The authentication policies that the relying party prefers
max_auth_age: The maximum time, in seconds, that the relying party wants to allow to have elapsed before the user must re-authenticate
Auth_OpenID_PAPE_Request::addPolicyURI | ( | $policy_uri | ) |
Add an acceptable authentication policy URI to this request.
This method is intended to be used by the relying party to add acceptable authentication types to the request.
policy_uri: The identifier for the preferred type of authentication.
Definition at line 55 of file PAPE.php.
Referenced by Auth_OpenID_PAPE_Request().
Auth_OpenID_PAPE_Request::Auth_OpenID_PAPE_Request | ( | $preferred_auth_policies = null , |
|
$max_auth_age = null |
|||
) |
Definition at line 35 of file PAPE.php.
References $ns_alias, $ns_uri, addPolicyURI(), and Auth_OpenID_PAPE_NS_URI.
Referenced by fromOpenIDRequest().
|
static |
Instantiate a Request object from the arguments in a checkid_* OpenID message.
Definition at line 80 of file PAPE.php.
References Auth_OpenID_PAPE_NS_URI, and Auth_OpenID_PAPE_Request().
Auth_OpenID_PAPE_Request::getExtensionArgs | ( | ) |
Get the string arguments that should be added to an OpenID message for this extension.
Reimplemented from Auth_OpenID_Extension.
Definition at line 62 of file PAPE.php.
Auth_OpenID_PAPE_Request::parseExtensionArgs | ( | $args | ) |
Set the state of this request to be that expressed in these PAPE arguments.
args,: | The PAPE arguments without a namespace |
Definition at line 99 of file PAPE.php.
Auth_OpenID_PAPE_Request::preferredTypes | ( | $supported_types | ) |
Given a list of authentication policy URIs that a provider supports, this method returns the subsequence of those types that are preferred by the relying party.
supported_types,: | A sequence of authentication policy type URIs that are supported by a provider |
Definition at line 137 of file PAPE.php.
Auth_OpenID_PAPE_Request::$ns_alias = 'pape' |
Definition at line 32 of file PAPE.php.
Referenced by Auth_OpenID_PAPE_Request().
Auth_OpenID_PAPE_Request::$ns_uri = Auth_OpenID_PAPE_NS_URI |
Definition at line 33 of file PAPE.php.
Referenced by Auth_OpenID_PAPE_Request().