Net::SAML2::IdP - SAML Identity Provider object
my $idp = Net::SAML2::IdP->new_from_url($IDP); my $sso_url = $idp->sso_url('urn:oasis:names:tc:SAML:2.0:bindings:HTTP-Redirect');
Constructor
* entityID
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.
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').
Returns the full Binding URI for the given binding name. Includes this module's currently-supported bindings.
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.
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.