Vanilla 2  2.0.18.8
 All Data Structures Namespaces Files Functions Variables Pages
Auth_OpenID_PAPE_Request Class Reference
Inheritance diagram for Auth_OpenID_PAPE_Request:
Collaboration diagram for Auth_OpenID_PAPE_Request:

Public Member Functions

 Auth_OpenID_PAPE_Request ($preferred_auth_policies=null, $max_auth_age=null)
 
 addPolicyURI ($policy_uri)
 
 getExtensionArgs ()
 
 fromOpenIDRequest ($request)
 
 parseExtensionArgs ($args)
 
 preferredTypes ($supported_types)
 
- Public Member Functions inherited from Auth_OpenID_Extension
 getExtensionArgs ()
 
 toMessage (&$message)
 

Data Fields

 $ns_alias = 'pape'
 
 $ns_uri = Auth_OpenID_PAPE_NS_URI
 
- Data Fields inherited from Auth_OpenID_Extension
 $ns_uri = null
 
 $ns_alias = null
 

Detailed Description

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

Member Function Documentation

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.

Here is the caller graph for this function:

Auth_OpenID_PAPE_Request (   $preferred_auth_policies = null,
  $max_auth_age = null 
)

Here is the call graph for this function:

Here is the caller graph for this function:

fromOpenIDRequest (   $request)

Instantiate a Request object from the arguments in a checkid_* OpenID message

Here is the call graph for this function:

getExtensionArgs ( )
parseExtensionArgs (   $args)

Set the state of this request to be that expressed in these PAPE arguments

Parameters
args,:The PAPE arguments without a namespace
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.

Parameters
supported_types,:A sequence of authentication policy type URIs that are supported by a provider
Returns
array The sub-sequence of the supported types that are preferred by the relying party. This list will be ordered in the order that the types appear in the supported_types sequence, and may be empty if the provider does not prefer any of the supported authentication types.

Field Documentation

$ns_alias = 'pape'

The documentation for this class was generated from the following file: