Net::SA...rtifact(3)
π NAME π
okay so bestie, welcome to Net::SA...rtifact(3) from the User Contributed Perl Documentation shelf π¦. This is the Net::SAML2::Protocol::Artifact module β a SAML2 artifact object, and itβs giving small but crucial, no cap. π
β¨ VERSION β¨
version 0.85 β cute, current, iconic. π
πΈ SYNOPSIS πΈ
Hereβs the exact group-chat recipe, fr fr β donβt freestyle the punctuation:
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();
Both paths are in the original vibe: either build it nested-style or take it step by step. iykyk β¨
π οΈ METHODS π οΈ
π§ new_from_xml( ... )
Constructor alert π¨. Creates an instance of the Artifact object, parsing the given XML to find the response and logout_response if they exist, as well as the issuer, issue_instant, and in_response_to. Itβs lowkey doing a lot, and we respect it. π
Arguments:
xmlβ XML data. Thatβs the input tea. π
π¬ response
Returns the response. Short, sweet, slay. β¨
πͺ logout_response
Returns the logoutresponse π.
π― get_response ( )
Returns the LogoutResponse or Response depending on which is defined. Whichever one is defined is the main character here π.
π AUTHOR π
Timothy Legge <timlegge@gmail.com> β author, periodt. π«Ά
π COPYRIGHT AND LICENSE π
Legal bestie moment, read it and weep (lovingly) β:
This software is copyright (c) 2026 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.
Signed off with source/version perl v5.42.2, dated 2026-02-11 β Net::SA...rtifact(3) out. π
π
π¦ where this page comes from
- alpine 3.24: perl-net-saml2-doc 0.85-r0 Β· GPL-1.0-or-later OR Artistic-1.0-Perl
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms