Net::SAML2::IdP
version 0.39
my $idp = Net::SAML2::IdP->new_from_url( url => $url, cacert => $cacert ); my $sso_url = $idp->sso_url('urn:oasis:names:tc:SAML:2.0:bindings:HTTP-Redirect');
Net::SAML2::IdP - SAML Identity Provider object
Constructor
Create an IdP object by retrieving the metadata at the given URL.
Dies if the metadata can't be retrieved.
Constructor. Create an IdP object using the provided metadata XML document.
Called after the object is created to validate the IdP using the cacert
Returns the url for the SSO service using the given binding. Binding name should be the full URI.
Returns the url for the Single Logout Service using the given binding. Binding name should be the full URI.
Returns the url for the Artifact Resolution service using the given binding. Binding name should be the full URI.
Returns the IdP's certificate for the given use (e.g. signing).
signing
Returns the full Binding URI for the given binding name (i.e. redirect or soap). Includes this module's currently-supported bindings.
redirect
soap
Returns the full NameID Format URI for the given short name.
If no short name is provided, returns the URI for the default format, the one listed first by the IdP.
If no NameID formats were advertised by the IdP, returns undef.
Chris Andrews <chrisa@cpan.org>
This software is copyright (c) 2021 by Chris Andrews and Others, see the git log.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
To install Net::SAML2, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Net::SAML2
CPAN shell
perl -MCPAN -e shell install Net::SAML2
For more information on module installation, please visit the detailed CPAN module installation guide.