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

NAME

Net::SAML2::Protocol::AuthnRequest - SAML2 AuthnRequest object

SYNOPSIS

  my $authnreq = Net::SAML2::Protocol::AuthnRequest->new(
    issueinstant => DateTime->now,
    issuer       => $self->{id},
    destination  => $destination,
  );

METHODS

new( ... )

Constructor. Creates an instance of the AuthnRequest object.

Arguments:

 * issuer - the SP's identity URI
 * destination - the IdP's identity URI

as_xml()

Returns the AuthnRequest as XML.