- COPYRIGHT AND LICENSE
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
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.
Returns the full Binding URI for the given binding name (i.e.
soap). 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.
Original Author: Chris Andrews <email@example.com>
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 Timothy Legge 2020 Timothy Legge, Wesley Schwengle
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.