class Saml::AttributeService

Overview

SAML2 AttributeService. Auxiliary class to build the AttributeService of the SP Metadata

Defined in:

saml/attribute_service.cr

Instance Method Summary

Instance Method Detail

def add_attribute(options : Hash) #

Add a requested attribute: add_attribute({:name => "Name", :name_format => "Name Format", :friendly_name => "Friendly Name", :is_required => true, :attribute_value => "Attribute Value"})


[View source]
def attributes : Array(Hash(Symbol, Array(Bool | Int32 | String) | Bool | Int32 | String | Nil)) #

[View source]
def configure(&) #

Evaluates the block with this service as its receiver.


[View source]
def configured? : Bool #

@return [Boolean] True if the AttributeService has attributes and a name


[View source]
def index : String #

[View source]
def name : String | Nil #

[View source]
def service_index(index) #

Set an index to the service


[View source]
def service_name(name) #

Set a name to the service


[View source]