Net::SAML2::RequestedAttribute − RequestedAttribute class
version 0.83
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();
Create an XML fragment
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).
|
• |
Chris Andrews <[email protected]> |
|||
|
• |
Timothy Legge <[email protected]> |
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.