NAME

Mojo::SAML::Document::NameIDPolicy

DESCRIPTION

Represents an NameIDPolicy SAML protocol tag

ATTRIBUTES

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

allow_create

Optional. A boolean indicating whether the subject should be allowed to create an account if they don't already have one. May be omitted, but assumed to be false if not given.

format

Optional. The actual format, which may be shorted and then expanded via "nameid_format" in Mojo::SAML::Names. See that function for understood values, though more are possible.

sp_name_qualifier

Optional. A namespace for the name to be returned (or created) other than the requester.

template

A template specific to the document type.

METHODS

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

tag_attrs

Generates a list of attributes for the tag.