NAME
Mojo::SAML::Document::AttributeConsumingService
DESCRIPTION
Represents an AttributeConsumingService SAML metadata tag
ATTRIBUTES
Mojo::SAML::Document::AttributeConsumingService inherits all attributes from Mojo::SAML::Document and implements the following new ones.
index
Required. The numerical index of the service for reference at a later time.
is_default
A boolean indicating whether this service should be considered the default. May be omitted, but assumed false if not given. Note that if no services are marked as default, the first one will be used as de-facto default.
lang
The attribute value to apply to "name" and "service_name" Optional, defaults to en
.
requested_attributes
An array reference of Mojo::SAML::Document::RequestedAttribute instance. Must not be empty at render time.
service_descriptions
An array reference of strings describing the service for human consumption.
service_names
An array reference of strings with than name of service for human consumption. Must not be empty at render time.
template
A template specific to the document type.
METHODS
Mojo::SAML::Document::AttributeConsumingService inherits all methods from Mojo::SAML::Document and implements the following new ones.
before_render
Enforces that "index" is defined and that "requested_attributes" and "service_names" are not empty at render time.
tag_attrs
Generates a list of attributes for the tag.