- COPYRIGHT AND LICENSE
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.
Returns the CN attribute, if provided.
Returns true if this Assertion is currently valid for the given audience.
Also accepts $in_response_to which it checks against the returned Assertion. This is very important for security as it helps ensure that the assertion that was received was for the request that was made.
Checks the audience matches, and that the current time is within the Assertions validity period as specified in its Conditions element.
Original Author: Chris Andrews <email@example.com>
This software is copyright (c) 2020 by Chris Andrews and Others; in detail:
Copyright 2010-2011 Chris Andrews 2012 Peter Marschall 2015 Mike Wisener 2016 Jeff Fearn 2017 Alessandro Ranellucci 2019 Timothy Legge 2020 Timothy Legge, Wesley Schwengle
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.