Class: OpenID::AX::FetchRequest

Class | OpenID::AX::FetchRequest
In: | lib/openid/extensions/ax.rb
Parent: | AXMessage

An attribute exchange ‘fetch_request’ message. This message is sent by a relying party when it wishes to obtain attributes about the subject of an OpenID authentication request.

### Methods

add attributes from_openid_request get_extension_args get_required_attrs member? new parse_extension_args requested_types

### Attributes

requested_attributes | [R] |
update_url | [RW] |

### Public Class methods

from_openid_request(oidreq)

Extract a FetchRequest from an OpenID message message: OpenID::Message return a FetchRequest or nil if AX arguments are not present

new(update_url = nil)

### Public Instance methods

add(attribute)

Add an attribute to this attribute exchange request. attribute: AttrInfo, the attribute being requested Raises IndexError if the requested attribute is already present

      in this request.

attributes()

return the list of AttrInfo objects contained in the FetchRequest

get_extension_args()

Get the serialized form of this attribute fetch request. returns a hash of the arguments

get_required_attrs()

Get the type URIs for all attributes that have been marked as required.

member?(type_uri)
parse_extension_args(ax_args)
requested_types()

return the list of requested attribute type URIs

[Validate]