Net::SA...ng::POST(3)

πŸ“¦ version 0.85, in alpine 3.24

🌸 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 in FORMAT_ASN1 or FORMAT_PEM that 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 in FORMAT_ASN1 or FORMAT_PEM that 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.

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