class
Saml::AttributeService
- Saml::AttributeService
- Reference
- Object
Overview
SAML2 AttributeService. Auxiliary class to build the AttributeService of the SP Metadata
Defined in:
saml/attribute_service.crInstance Method Summary
-
#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"})
- #attributes : Array(Hash(Symbol, Array(Bool | Int32 | String) | Bool | Int32 | String | Nil))
-
#configure(&)
Evaluates the block with this service as its receiver.
-
#configured? : Bool
@return [Boolean] True if the AttributeService has attributes and a name
- #index : String
- #name : String | Nil
-
#service_index(index)
Set an index to the service
-
#service_name(name)
Set a name to the service
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"})
def attributes : Array(Hash(Symbol, Array(Bool | Int32 | String) | Bool | Int32 | String | Nil))
#