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.crConstructors
-
.new
Initializes the AttributeService, set the index value as 1 and an empty array as attributes
Instance Method Summary
-
#add_attribute(options : Hash(Symbol, String | Int32))
Add an AttributeService @param options [Hash] AttributeService option values add_attribute( :name => "Name", :name_format => "Name Format", :index => 1, :friendly_name => "Friendly Name", :attribute_value => "Attribute Value" )
- #attributes : Array(Hash(Symbol, Int32 | String))
- #configure(&block)
-
#configured?
@return [Boolean] True if the AttributeService object has been initialized and set with the required values (has attributes and a name)
- #index : String
- #name
-
#service_index(index : String)
Set an index to the service @param index [Integer] An index
-
#service_name(name)
Set a name to the service @param name [String] The service name
Constructor Detail
Initializes the AttributeService, set the index value as 1 and an empty array as attributes
Instance Method Detail
Add an AttributeService @param options [Hash] AttributeService option values add_attribute( :name => "Name", :name_format => "Name Format", :index => 1, :friendly_name => "Friendly Name", :attribute_value => "Attribute Value" )
@return [Boolean] True if the AttributeService object has been initialized and set with the required values (has attributes and a name)