Net::SA...ng::POST(3)
πΈ NAME πΈ
Net::SAML2::Binding::POST β the HTTP POST binding for SAML. Yup, that's the name line, bestie. This manual page is from the User Contributed Perl Documentation section, and the header shows it as Net::SA...ng::POST(3) because that's the truncated little title we got π
.
π VERSION π
version 0.85 β¨ β short, sweet, and iconic.
β¨ SYNOPSIS β¨
Here's the whole vibe in code, no cap:
my $post = Net::SAML2::Binding::POST->new(
cacert => '/path/to/ca-cert.pem'
);
my $xml = $post->handle_response(
$saml_response
);
π METHODS π
π§ new( ) π§
Constructor! Returns an instance of the POST binding π«Ά.
Arguments β and yes, we're keeping every single detail:
cacertβ path to the CA certificate for verification. π΅οΈββοΈcertβ path to a certificate that is added to the signed XML. It needs to be the certificate that includes the public key related to the key. πcert_textβ text form of the certificate inFORMAT_ASN1orFORMAT_PEMthat is used to verify the signed XML. πkeyβ path to a key used to sign the XML. βοΈ
And then the source lists cert, cert_text, and key again β not me being extra, it's literally in there β so here they are again, fr fr:
certβ path to a certificate that is added to the signed XML. It needs to be the certificate that includes the public key related to the key. πcert_textβ text form of the certificate inFORMAT_ASN1orFORMAT_PEMthat is used to verify the signed XML. πkeyβ path to a key used to sign the XML. βοΈ
π handle_response( $response ) π
The source gives this little line:
my $xml = $self->handle_response($response);
Decodes and verifies the Base64-encoded SAMLResponse CGI parameter. Returns the decoded response as XML. It's giving decode, verify, hand you the XML β slay π.
βοΈ sign_xml( $request ) βοΈ
Sign and encode the SAMLRequest. That's the whole method, bestie β periodt π.
π¦ AUTHOR π¦
Timothy Legge <timlegge@gmail.com> β author, iconic.
π COPYRIGHT AND LICENSE π
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. π
okay bye bestie π
β footer check: perl v5.42.2, dated 2026-02-11, for the Net::SA...ng::POST(3) manual page. mwah π
π¦ 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