NAME
Net::SAML2::Protocol::AuthnRequest
VERSION
version 0.10
SYNOPSIS
my $authnreq = Net::SAML2::Protocol::AuthnRequest->new(
issueinstant => DateTime->now,
issuer => $self->{id},
destination => $destination,
);
NAME
Net::SAML2::Protocol::AuthnRequest - SAML2 AuthnRequest object
METHODS
new( ... )
Constructor. Creates an instance of the AuthnRequest object.
Arguments:
- nameidpolicy_format
-
Format attribute for NameIDPolicy
- AuthnContextClassRef, AuthnContextDeclRef
-
Each one is an arrayref containing values for AuthnContextClassRef and AuthnContextDeclRef. If any is populated, the RequestedAuthnContext will be included in the request.
- RequestedAuthnContext_Comparison
-
Value for the Comparison attribute in case RequestedAuthnContext is included (see above). Default value is exact.
as_xml( )
Returns the AuthnRequest as XML.
AUTHOR
Alessandro Ranellucci <aar@cpan.org>
COPYRIGHT AND LICENSE
This software is Copyright (c) 2018 by Alessandro Ranellucci.
This is free software, licensed under:
The (three-clause) BSD License