NAME

Net::SAML2::Binding::POST - HTTP POST binding for SAML

VERSION

version 0.72

SYNOPSIS

my $post = Net::SAML2::Binding::POST->new(
  cacert => '/path/to/ca-cert.pem'
);
my $ret = $post->handle_response(
  $saml_response
);

NAME

Net::SAML2::Binding::POST - HTTP POST binding for SAML2

METHODS

new( )

Constructor. Returns an instance of the POST binding.

Arguments:

cacert

path to the CA certificate for verification

handle_response( $response )

Decodes and verifies the response provided, which should be the raw Base64-encoded response, from the SAMLResponse CGI parameter.

sign_xml( $request )

Sign and encode the SAMLRequest.

AUTHORS

  • Chris Andrews <chrisa@cpan.org>

  • Timothy Legge <timlegge@gmail.com>

COPYRIGHT AND LICENSE

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.