NAME
Net::SAML2::Protocol::Assertion
VERSION
version 0.10
SYNOPSIS
my $assertion = Net::SAML2::Protocol::Assertion->new_from_xml(
xml => decode_base64($SAMLResponse)
);
NAME
Net::SAML2::Protocol::Assertion - SAML2 assertion object
METHODS
new_from_xml( ... )
Constructor. Creates an instance of the Assertion object, parsing the given XML to find the attributes, session and nameid.
Arguments:
- xml
-
XML data
name( )
Returns the CN attribute, if provided.
valid( $audience )
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.
AUTHOR
Alessandro Ranellucci <aar@cpan.org>
COPYRIGHT AND LICENSE
This software is Copyright (c) 2018 by Alessandro Ranellucci.
This is free software, licensed under:
The (three-clause) BSD License