Net::SAML2::Protocol::AuthnRequest - SAML2 AuthnRequest object
my $authnreq = Net::SAML2::Protocol::AuthnRequest->new( issueinstant => DateTime->now, issuer => $self->{id}, destination => $destination, );
Constructor. Creates an instance of the AuthnRequest object.
Arguments:
* issuer - the SP's identity URI * destination - the IdP's identity URI
Returns the AuthnRequest as XML.
To install Net::SAML2, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Net::SAML2
CPAN shell
perl -MCPAN -e shell install Net::SAML2
For more information on module installation, please visit the detailed CPAN module installation guide.