ILIAS
release_5-0 Revision 5.0.0-1144-gc4397b1f870
|
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. More... | |
getExtensionArgs () | |
parseExtensionArgs ($args) | |
Set the state of this request to be that expressed in these PAPE arguments. More... | |
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. More... | |
![]() | |
getExtensionArgs () | |
Get the string arguments that should be added to an OpenID message for this extension. More... | |
toMessage ($message) | |
Add the arguments from this extension to the provided message. More... | |
Static Public Member Functions | |
static | fromOpenIDRequest ($request) |
Instantiate a Request object from the arguments in a checkid_* OpenID message. More... | |
Data Fields | |
$ns_alias = 'pape' | |
$ns_uri = Auth_OpenID_PAPE_NS_URI | |
![]() | |
$ns_uri = null | |
ns_uri: The namespace to which to add the arguments for this extension More... | |
$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(), and Auth_OpenID_PAPE_Response\Auth_OpenID_PAPE_Response().
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 $result, Auth_OpenID\arrayGet(), Auth_OpenID_PAPE_NS_URI, Auth_OpenID_PAPE_Request(), Auth_OpenID\intval(), parseExtensionArgs(), and preferredTypes().
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.
Referenced by Auth_OpenID_PAPE_Response\Auth_OpenID_PAPE_Response(), and fromOpenIDRequest().
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.
Referenced by fromOpenIDRequest().
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().