![]() |
![]()
| ![]() |
![]()
NAMENet::SAML2::SP - SAML Service Provider object VERSIONversion 0.82 SYNOPSISmy $sp = Net::SAML2::SP->new(
METHODSnew( ... )Constructor. Create an SP object. Arguments:
authn_request( $destination, $nameid_format, %params )Returns an AuthnRequest object created by this SP, intended for the given destination, which should be the identity URI of the IdP. %params is a hash containing parameters valid for Net::SAML2::Protocol::AuthnRequest. For example: my %params = (
force_authn => 1, is_passive => 1, ) my $authnreq = authn_request(
logout_request( $destination, $nameid, $nameid_format, $session, $params )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. $params is a HASH reference for
parameters to Net::SAML2::Protocol::LogoutRequest
$params = (
logout_response( $destination, $status, $in_response_to )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. artifact_request( $destination, $artifact )Returns an ArtifactResolve request object created by this SP, intended for the given destination, which should be the identity URI of the IdP. sp_post_binding ( $idp, $param )Returns a POST 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". sso_redirect_binding( $idp, $param )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". slo_redirect_binding( $idp, $param )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". soap_binding( $ua, $idp_url, $idp_cert )Returns a SOAP binding object for this SP, with a destination of the given URL and signing certificate. XXX UA post_binding( )Returns a POST binding object for this SP. generate_metadata( )Generate the metadata XML document for this SP. key_name($type)Get the key name for either the "signing" or "encryption" key metadata( )Returns the metadata XML document for this SP. get_default_assertion_serviceReturn the assertion service which is the default AUTHORS
COPYRIGHT AND LICENSEThis software is copyright (c) 2025 by Venda Ltd, see the CONTRIBUTORS file for others. This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
|