![]() |
![]()
| ![]() |
![]()
NAMENet::SAML2::Protocol::Artifact - SAML2 artifact object VERSIONversion 0.82 SYNOPSISmy $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(); METHODSnew_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:
responseReturns the response logout_responseReturns the logoutresponse get_response ( )Returns the LogoutResponse or Response depending on which is defined AUTHORS
COPYRIGHT AND LICENSEThis software is copyright (c) 2025 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.
|