Net::SAML2::Protocol::ArtifactResolve - ArtifactResolve protocol class
version 0.79
my $resolver = Net::SAML2::Protocol::ArtifactResolve->new( artifact => 'yourartifact', destination => $idp->art_url('urn:oasis:names:tc:SAML:2.0:bindings:SOAP'), # https://idp.example.net/idp issuer => $sp->id, # https://you.example.com/auth/saml ); my $binding = Net::SAML2::Binding::SOAP->new(...); $binding->request($resolved->as_xml);
my $resolver = Net::SAML2::Protocol::ArtifactResolve->new( artifact => 'yourartifact', destination => $idp->art_url('urn:oasis:names:tc:SAML:2.0:bindings:SOAP'), # https://idp.example.net/idp issuer => $sp->id, # https://you.example.com/auth/saml );
Constructor. Returns an instance of the ArtifactResolve request for the given issuer and artifact.
Arguments:
Issuing SP's identity URI
Artifact to be resolved
IdP's identity URI
IdP's provider name
Returns the ArtifactResolve request as XML.
Chris Andrews <chrisa@cpan.org>
Timothy Legge <timlegge@gmail.com>
This software is copyright (c) 2024 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.
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.