The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Mojo::SAML::Document::EntityDescriptor

DESCRIPTION

Represents an EntityDescriptor SAML metadata tag

ATTRIBUTES

Mojo::SAML::Document::EntityDescriptor inherits all attributes from Mojo::SAML::Document and implements the following new ones.

cache_duration

Optional. The maximum length of time to cache the data.

descriptors

An array reference containing documents of service descriptors. This may include Mojo::SAML::Document::SPSSODescriptor. Must not be empty at render time.

entity_id

Required. This is the identifier for the entity. It is often the same as the assertion consumer service location (url, see "location" in Mojo::SAML::Document::AssertionConsumerService).

extensions

An array reference of strings or objects that stringify. These are included directly into the body of the main tag.

id

Optional. The ID of the XML element.

template

A template specific to the document type.

valid_until

Optional. Speficies the time at which the document should no longer be considered valid.

METHODS

Mojo::SAML::Document::EntityDescriptor inherits all methods from Mojo::SAML::Document and implements the following new ones.

before_render

Enforces that "descriptors" is not empty at render time.

tag_attrs

Generates a list of attributes for the tag.