Net::SAML2::Protocol::LogoutRequest - SAML2 LogoutRequest Protocol object
version 0.66
my $logout_req = Net::SAML2::Protocol::LogoutRequest->new( issuer => $issuer, destination => $destination, nameid => $nameid, session => $session, );
Constructor. Returns an instance of the LogoutRequest object.
Arguments:
Session to log out
NameID of the user to log out
IdP's identity URI this is required for a signed message but likely should be sent regardless
The following options alter the output of the NameID element
When supplied adds the Format attribute to the NameID
When supplied adds the SPProvidedID attribute to the NameID
Tell the module to include the NameQualifier and SPNameQualifier attributes in the NameID. Defaults to false unless the nameid_format equals urn:oasis:names:tc:SAML:2.0:nameidformat:persistent
urn:oasis:names:tc:SAML:2.0:nameidformat:persistent
When supplied sets the NameQualifier attribute. When not supplied, this defaults to the destination.
When supplied sets the SPNameQualifier attribute. When not supplied, this defaults to the issuer.
Create a LogoutRequest object from the given XML.
XML data
Returns the LogoutRequest as XML.
Chris Andrews <chrisa@cpan.org>
Timothy Legge <timlegge@gmail.com>
This software is copyright (c) 2023 by Venda Ltd, see the CONTRIBUTORS file for others.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
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.