NAME

Net::SAML2::Binding::POST

VERSION

version 0.25

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.

AUTHOR

Original Author: Chris Andrews <chrisa@cpan.org>

COPYRIGHT AND LICENSE

This software is copyright (c) 2020 by Chris Andrews and Others; in detail:

  Copyright 2010-2011  Chris Andrews
            2012       Peter Marschall
            2015       Mike Wisener
            2016       Jeff Fearn
            2017       Alessandro Ranellucci
            2019-2020  Timothy Legge

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.