Class: OpenID::PAPE::Request

Class | OpenID::PAPE::Request
In: | lib/openid/extensions/pape.rb
Parent: | Extension

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

### Methods

add_policy_uri from_openid_request get_extension_args new parse_extension_args preferred_types

### Attributes

max_auth_age | [RW] |
ns_alias | [RW] |
ns_uri | [RW] |
preferred_auth_policies | [RW] |

### Public Class methods

from_openid_request(oid_req)

Instantiate a Request object from the arguments in a checkid_* OpenID message return nil if the extension was not requested.

new(preferred_auth_policies=[], max_auth_age=nil)

### Public Instance methods

add_policy_uri(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.

get_extension_args()
parse_extension_args(args)

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

preferred_types(supported_types)

Given a list of authentication policy URIs that a provider supports, this method returns the subset of those types that are preferred by the relying party.

[Validate]