Mojo::SAML::Document::AuthnRequest
Represents an AuthnRequest SAML protocol tag
Mojo::SAML::Document::AuthnRequest inherits all attributes from Mojo::SAML::Document and implements the following new ones.
The ID of the request XML document, defaults to MOJOSAML_ concatenated with a GUID (see "get_guid" in Mojo::SAML::Document).
MOJOSAML_
The issue instant of the request, defaults to "get_instant" in Mojo::SAML::Document.
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.
0
The url of the response service. Exactly one of this or "assertion_consumer_service_index" is required.
A url specifying where this request is being sent. Optional but recommended.
A boolean indicating if authentication should be forced. May be omitted, but assumed false if not given.
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.
Optional. The human readable name of the requester service for possible use in display by other agents.
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.
The entity id of the service that generated the request. See "entity_id" in Mojo::SAML::Document::EntityDescriptor. Optional but recommended.
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.
A template specific to the document type.
Mojo::SAML::Document::AuthnRequest inherits all methods from Mojo::SAML::Document and implements the following new ones.
Generates a list of attributes for the tag.
To install Mojo::SAML, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Mojo::SAML
CPAN shell
perl -MCPAN -e shell install Mojo::SAML
For more information on module installation, please visit the detailed CPAN module installation guide.