NAME

Net::SAML2::Protocol::LogoutResponse

VERSION

version 0.11

SYNOPSIS

my $logout_req = Net::SAML2::Protocol::LogoutResponse->new(
  issuer      => $issuer,
  destination => $destination,
  status      => $status,
  response_to => $response_to,
);

NAME

Net::SAML2::Protocol::LogoutResponse - the SAML2 LogoutResponse object

METHODS

new( ... )

Constructor. Returns an instance of the LogoutResponse object.

Arguments:

issuer

SP's identity URI

destination

IdP's identity URI

status

response status

response_to

request ID we're responding to

new_from_xml( ... )

Create a LogoutResponse object from the given XML.

Arguments:

xml

XML data

as_xml( )

Returns the LogoutResponse as XML.

success( )

Returns true if the Response's status is Success.

valid( $audience )

Returns true if this LogoutResponse is currently valid for the given audience.

Checks that the Destination, InResponseTo, Issuer match with the expected values.

es, and that the current time is within the Assertions validity period as specified in its Conditions element.

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