GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
Net::SAML2::Object::Response(3) User Contributed Perl Documentation Net::SAML2::Object::Response(3)

Net::SAML2::Object::Response - A response object

version 0.82

    use Net::SAML2::Object::Response;
    my $xml = ...;
    my $response = Net::SAML2::Object::Response->new_from_xml(xml => $xml);
    if (!$response->is_success) {
        warn "Got a response but isn't successful";
        my $status = $response->status;
        my $substatus = $response->substatus;
        warn "We got a $status back with the following sub status $substatus";
    }
    else {
        $response->to_assertion(
            # See Net::SAML2::Protocol::Assertion->new_from_xml for the other
            # construction options
            key_file => ...,
            key_name => ...,
        )
    }

A generic response object to be able to deal with an response from the IdP. If the status is successful you can grab an assertion and continue your flow.

Returns the status of the response

Returns the sub status of the response

Returns the nodes of the assertion

$self->new_from_xml(xml => $xml)

Creates the response object based on the response XML

Stringify the object to the full response XML

Create a Net::SAML2::Protocol::Assertion from the response. See "new_from_xml" in Net::SAML2::Protocol::Assertion for more.

  • Chris Andrews <chrisa@cpan.org>
  • Timothy Legge <timlegge@gmail.com>

This 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.

2025-05-27 perl v5.40.2

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.