Net::SAML2::Protocol::AuthnRequest
version 0.12
my $authnreq = Net::SAML2::Protocol::AuthnRequest->new( issueinstant => DateTime->now, issuer => $self->{id}, destination => $destination, );
Net::SAML2::Protocol::AuthnRequest - SAML2 AuthnRequest object
Constructor. Creates an instance of the AuthnRequest object.
Arguments:
Format attribute for NameIDPolicy
Each one is an arrayref containing values for AuthnContextClassRef and AuthnContextDeclRef. If any is populated, the RequestedAuthnContext will be included in the request.
Value for the Comparison attribute in case RequestedAuthnContext is included (see above). Default value is exact.
Returns the AuthnRequest as XML.
Alessandro Ranellucci <aar@cpan.org>
This software is Copyright (c) 2018 by Alessandro Ranellucci.
This is free software, licensed under:
The (three-clause) BSD License
To install Net::SPID, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Net::SPID
CPAN shell
perl -MCPAN -e shell install Net::SPID
For more information on module installation, please visit the detailed CPAN module installation guide.