[ Index ]

PHP Cross Reference of Joomla 1.5.26 DE

title

Body

[close]

/libraries/openid/Auth/OpenID/ -> PAPE.php (summary)

An implementation of the OpenID Provider Authentication Policy Extension 1.0 See: http://openid.net/developers/specs/

File Size: 304 lines (9 kb)
Included or required: 1 time
Referenced: 0 times
Includes or requires: 0 files

Defines 2 classes

Auth_OpenID_PAPE_Request:: (6 methods):
  Auth_OpenID_PAPE_Request()
  addPolicyURI()
  getExtensionArgs()
  fromOpenIDRequest()
  parseExtensionArgs()
  preferredTypes()

Auth_OpenID_PAPE_Response:: (5 methods):
  Auth_OpenID_PAPE_Response()
  addPolicyURI()
  fromSuccessResponse()
  parseExtensionArgs()
  getExtensionArgs()


Class: Auth_OpenID_PAPE_Request  - X-Ref

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($preferred_auth_policies=null,$max_auth_age=null)   X-Ref
No description

addPolicyURI($policy_uri)   X-Ref
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.

getExtensionArgs()   X-Ref
No description

fromOpenIDRequest($request)   X-Ref
Instantiate a Request object from the arguments in a checkid_*
OpenID message


parseExtensionArgs($args)   X-Ref
Set the state of this request to be that expressed in these
PAPE arguments

param: args: The PAPE arguments without a namespace

preferredTypes($supported_types)   X-Ref
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.

param: supported_types: A sequence of authentication policy
return: array The sub-sequence of the supported types that are

Class: Auth_OpenID_PAPE_Response  - X-Ref

A Provider Authentication Policy response, sent from a provider to
a relying party

Auth_OpenID_PAPE_Response($auth_policies=null, $auth_time=null,$nist_auth_level=null)   X-Ref
No description

addPolicyURI($policy_uri)   X-Ref
Add a authentication policy to this response

This method is intended to be used by the provider to add a
policy that the provider conformed to when authenticating the
user.

param: policy_uri: The identifier for the preferred type of

fromSuccessResponse($success_response)   X-Ref
Create an Auth_OpenID_PAPE_Response object from a successful
OpenID library response.

returns: : A provider authentication policy response from the
param: success_response $success_response A SuccessResponse

parseExtensionArgs($args, $strict=false)   X-Ref
Parse the provider authentication policy arguments into the
internal state of this object

param: args: unqualified provider authentication policy
param: strict: Whether to return false when bad data is
return: null The data is parsed into the internal fields of

getExtensionArgs()   X-Ref
No description



Generated: Wed Mar 28 15:54:07 2012 Cross-referenced by PHPXref 0.7.1