Net::SAML2::SP
version 0.10
my $sp = Net::SAML2::SP->new( id => 'http://localhost:3000', url => 'http://localhost:3000', cert => 'sign-nopw-cert.pem', key => 'sign-nopw-key.pem', );
Net::SAML2::SP - SAML Service Provider object
Constructor. Create an SP object.
Arguments:
base for all SP service URLs
SP's identity URI.
path to the signing certificate
path to the private key for the signing certificate
path to the CA certificate for verification
SP organisation name
SP organisation display name
SP contact email address
Returns an AuthnRequest object created by this SP, intended for the given destination, which should be the identity URI of the IdP.
Returns a LogoutRequest object created by this SP, intended for the given destination, which should be the identity URI of the IdP.
Also requires the nameid (+format) and session to be logged out.
Returns a LogoutResponse object created by this SP, intended for the given destination, which should be the identity URI of the IdP.
Also requires the status and the ID of the corresponding LogoutRequest.
Returns an ArtifactResolve request object created by this SP, intended for the given destination, which should be the identity URI of the IdP.
Returns a Redirect binding object for this SP, configured against the given IDP for Single Sign On. $param specifies the name of the query parameter involved - typically SAMLRequest.
SAMLRequest
Returns a Redirect binding object for this SP, configured against the given IDP for Single Log Out. $param specifies the name of the query parameter involved - typically SAMLRequest or SAMLResponse.
SAMLResponse
Returns a SOAP binding object for this SP, with a destination of the given URL and signing certificate.
XXX UA
Returns a POST binding object for this SP.
Returns the metadata XML document for this SP.
Alessandro Ranellucci <aar@cpan.org>
This software is Copyright (c) 2018 by Alessandro Ranellucci.
This is free software, licensed under:
The (three-clause) BSD License
To install Net::SPID, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Net::SPID
CPAN shell
perl -MCPAN -e shell install Net::SPID
For more information on module installation, please visit the detailed CPAN module installation guide.