Net::SAML2::Protocol::Assertion
version 0.12
my $assertion = Net::SAML2::Protocol::Assertion->new_from_xml( xml => decode_base64($SAMLResponse) );
Net::SAML2::Protocol::Assertion - SAML2 assertion object
Constructor. Creates an instance of the Assertion object, parsing the given XML to find the attributes, session and nameid.
Arguments:
XML data
Returns the CN attribute, if provided.
Returns true if this Assertion is currently valid for the given audience.
Checks the audience matches, and that the current time is within the Assertions validity period as specified in its Conditions element.
Alessandro Ranellucci <aar@cpan.org>
This software is Copyright (c) 2018 by Alessandro Ranellucci.
This is free software, licensed under:
The (three-clause) BSD License
To install Net::SPID, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Net::SPID
CPAN shell
perl -MCPAN -e shell install Net::SPID
For more information on module installation, please visit the detailed CPAN module installation guide.