NAME

Net::SAML2::Protocol::ArtifactResolve - ArtifactResolve protocol class

VERSION

version 0.81

SYNOPSIS

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);

METHODS

new(%args)

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:

issuer

Issuing SP's identity URI

artifact

Artifact to be resolved

destination

IdP's identity URI

provider

IdP's provider name

as_xml()

Returns the ArtifactResolve request as XML.

AUTHORS

  • Chris Andrews <chrisa@cpan.org>

  • Timothy Legge <timlegge@gmail.com>

COPYRIGHT AND LICENSE

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.