The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Mojo::SAML::Document::AuthnRequest

DESCRIPTION

Represents an AuthnRequest SAML protocol tag

ATTRIBUTES

Mojo::SAML::Document::AuthnRequest inherits all attributes from Mojo::SAML::Document and implements the following new ones.

id

The ID of the request XML document, defaults to MOJOSAML_ concatenated with a GUID (see "get_guid" in Mojo::SAML::Document).

issue_instant

The issue instant of the request, defaults to "get_instant" in Mojo::SAML::Document.

assertion_consumer_service_index

The index of the response service, see "index" in Mojo::SAML::Document::AssertionConsumerService. Exactly one of this or "assertion_consumer_service_url" is required, however if neither is given, this value will be set to 0.

assertion_consumer_service_url

The url of the response service. Exactly one of this or "assertion_consumer_service_index" is required.

destination

A url specifying where this request is being sent. Optional but recommended.

force_authn

A boolean indicating if authentication should be forced. May be omitted, but assumed false if not given.

protocol_binding

If "assertion_consumer_service_url" is given then this specifies the binding type. Can use a shortened form expanded via "binding" in Mojo::SAML::Names.

provider_name

Optional. The human readable name of the requester service for possible use in display by other agents.

is_passive

A boolean indicating if this authentication request should be passive (ie, not disrupt workflow if not authenticatble). May be omitted, but assumed false if not given.

issuer

The entity id of the service that generated the request. See "entity_id" in Mojo::SAML::Document::EntityDescriptor. Optional but recommended.

nameid_policy

Optional. An instance of Mojo::SAML::Document::NameIDPolicy specifying the nameid policy to be returned. This is essentially asking for a username vs email address, etc; read more at that document type. If omitted, any identifier for the subject may be returned.

template

A template specific to the document type.

METHODS

"Mojo::SAML::Document::AuthnRequest" inherits all methods from Mojo::SAML::Document and implements the following new ones.

tag_attrs

Generates a list of attributes for the tag.