Net::SAML2::Protocol::Artifact - SAML2 artifact object

NAME  VERSION  SYNOPSIS  NAME  METHODS  new_from_xml( ... )  response  logout_response  success( )  get_response ( )  AUTHORS  COPYRIGHT AND LICENSE 

NAME

Net::SAML2::Protocol::Artifact − SAML2 artifact object

VERSION

version 0.74

SYNOPSIS

my $artifact = Net::SAML2::Protocol::Artifact−>new_from_xml(
xml => Net::SAML2::Binding::SOAP−>request(
Net::SAML2::SP−>artifact_request(
$art_url,
$artifact
)−>as_xml)
);
or
my $request = Net::SAML2::SP−>artifact_request($art_url, $artifact)−>as_xml;
my soap_response = Net::SAML2::Binding::SOAP−>request($request);
my $artifact = Net::SAML2::Protocol::Artifact−>new_from_xml(soap_response);
# get_response returns the Response or LogoutResponse
my art_response = $artifact−>get_response();

NAME

Net::SAML2::Protocol::Artifact − SAML2 artifact object

METHODS

new_from_xml( ... )

Constructor. Creates an instance of the Artifact object, parsing the given XML to find the response and logout_response should they exist as well as the issuer, issue_instant and in_response_to.

Arguments:

xml

XML data

response

Returns the response

logout_response

Returns the logoutresponse

success( )

Returns true if the Response’s status is Success.

get_response ( )

Returns the LogoutResponse or Response depending on which is defined

AUTHORS

Chris Andrews <[email protected]>

Timothy Legge <[email protected]>

COPYRIGHT AND LICENSE

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.


Updated 2024-01-29 - jenkler.se | uex.se