Net::SAML2::Protocol::Artifact − SAML2 artifact object
version 0.74
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();
Net::SAML2::Protocol::Artifact − SAML2 artifact object
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 |
Returns the response
Returns the logoutresponse
Returns true if the Response’s status is Success.
Returns the LogoutResponse or Response depending on which is defined
• |
Chris Andrews <[email protected]> |
|||
• |
Timothy Legge <[email protected]> |
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.