The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Net::SAML2::Binding::SOAP

VERSION

version 0.11

SYNOPSIS

  my $soap = Net::SAML2::Binding::SOAP->new(
    url => $idp_url,
    key => $key,
    cert => $cert,
    idp_cert => $idp_cert,
  );

  my $response = $soap->request($req);

NAME

Net::SAML2::Binding::Artifact - SOAP binding for SAML2

METHODS

new( ... )

Constructor. Returns an instance of the SOAP binding configured for the given IdP service url.

Arguments:

ua

(optional) a LWP::UserAgent-compatible UA

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

request( $message )

Submit the message to the IdP's service.

Returns the Response, or dies if there was an error.

handle_response( $response )

Handle a response from a remote system on the SOAP binding.

Accepts a string containing the complete SOAP response.

handle_request( $request )

Handle a request from a remote system on the SOAP binding.

Accepts a string containing the complete SOAP request.

create_soap_envelope( $message )

Signs and SOAP-wraps the given message.

AUTHOR

Alessandro Ranellucci <aar@cpan.org>

COPYRIGHT AND LICENSE

This software is Copyright (c) 2018 by Alessandro Ranellucci.

This is free software, licensed under:

  The (three-clause) BSD License