Net::SAML2::Binding::SOAP − SOAP binding for SAML
version 0.74
my $soap =
Net::SAML2::Binding::SOAP−>new(
url => $idp_url,
key => $key,
cert => $cert,
idp_cert => $idp_cert,
);
my $response = $soap−>request($req);
Note that LWP::UserAgent maybe used which means that environment variables may affect the use of https see:
• |
PERL_LWP_SSL_CA_FILE and HTTPS_CA_FILE <https://metacpan.org/pod/LWP::UserAgent#SSL_ca_file-=%3E-$path> | ||
• |
PERL_LWP_SSL_CA_PATH and HTTPS_CA_DIR <https://metacpan.org/pod/LWP::UserAgent#SSL_ca_path-=%3E-$path> |
Constructor. Returns an instance of the SOAP binding configured for the given IdP service url.
Arguments:
ua |
(optional) a LWP::UserAgent−compatible UA You can build the user agent to your liking when extending this class by overriding "build_user_agent" | ||
url |
the service URL | ||
key |
the key to sign with |
cert
the corresponding certificate
idp_cert
the idp’s signing certificate
cacert
the CA for the SAML CoT
Builder for the user agent
Submit the message to the IdP’s service.
Returns the Response, or dies if there was an error.
Handle a response from a remote system on the SOAP binding.
Accepts a string containing the complete SOAP response.
Handle a request from a remote system on the SOAP binding.
Accepts a string containing the complete SOAP request.
Signs and SOAP-wraps the given message.
• |
Chris Andrews <[email protected]> |
|||
• |
Timothy Legge <[email protected]> |
This software is copyright (c) 2023 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.