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

NAME

Net::SAML2::Protocol::LogoutRequest - SAML2 LogoutRequest Protocol object

VERSION

version 0.47

SYNOPSIS

  my $logout_req = Net::SAML2::Protocol::LogoutRequest->new(
    issuer      => $issuer,
    destination => $destination,
    nameid      => $nameid,
    session     => $session,
  );

NAME

Net::SAML2::Protocol::LogoutRequest - the SAML2 LogoutRequest object

METHODS

new( ... )

Constructor. Returns an instance of the LogoutRequest object.

Arguments:

session

session to log out

nameid

NameID of the user to log out

nameid_format

NameIDFormat to specify

issuer

SP's identity URI

destination

IdP's identity URI this is required for a signed message but likely should be sent regardless

new_from_xml( ... )

Create a LogoutRequest object from the given XML.

Arguments:

xml

XML data

as_xml( )

Returns the LogoutRequest as XML.

AUTHOR

Chris Andrews <chrisa@cpan.org>

COPYRIGHT AND LICENSE

This software is copyright (c) 2021 by Chris Andrews and Others, see the git log.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.