Net::SAML2::Binding::POST − HTTP POST binding for SAML
version 0.83
my $post =
Net::SAML2::Binding::POST−>new(
cacert => '/path/to/ca−cert.pem'
);
my $xml = $post−>handle_response(
$saml_response
);
Constructor. Returns an instance of the POST binding.
Arguments:
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. |
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. |
my $xml = $self−>handle_response($response);
Decodes and verifies the Base64−encoded SAMLResponse CGI parameter. Returns the decoded response as XML.
Sign and encode the SAMLRequest.
|
• |
Chris Andrews <[email protected]> |
|||
|
• |
Timothy Legge <[email protected]> |
This 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.