NAME
Net::SAML2::RequestedAttribute - RequestedAttribute class
VERSION
version 0.81
SYNOPSIS
use Net::SAML2::RequestedAttribute;
my $attr = Net::SAML2::RequestedAttribute->new(
# required
name => 'Some:urn',
# defaults to:
namespace => 'md',
# optional
friendly_name => 'foo',
required => 1,
);
my $fragment = $var->to_xml();
DESCRIPTION
METHODS
to_xml
Create an XML fragment
_build_attributes
A requested attribute can hold other attributes than the ones specified in the XSD of https://docs.oasis-open.org/security/saml/v2.0/saml-schema-assertion-2.0.xsd.
This method allows to override the attributes for the RequestedAttribute node where you can add/remove/replace or change the order of the attributes. In other OO frameworks this method would have been protected or common (Object::Pad/Corrina).
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.