Class: Saml::Kit::Builders::Assertion
- Inherits:
-
Object
- Object
- Saml::Kit::Builders::Assertion
show all
- Extended by:
- Forwardable
- Includes:
- Templatable
- Defined in:
- lib/saml/kit/builders/assertion.rb
Instance Attribute Summary
Attributes included from Templatable
#embed_signature
Instance Method Summary
collapse
#encrypt?, #encryption_for, #render, #sign=, #sign?, #signature_for, #signatures, #to_xml
Constructor Details
#initialize(response_builder) ⇒ Assertion
Returns a new instance of Assertion.
10
11
12
|
# File 'lib/saml/kit/builders/assertion.rb', line 10
def initialize(response_builder)
@response_builder = response_builder
end
|
Instance Method Details
#assertion_attributes ⇒ Object
22
23
24
|
# File 'lib/saml/kit/builders/assertion.rb', line 22
def assertion_attributes
user.assertion_attributes_for(request)
end
|
#name_id ⇒ Object
18
19
20
|
# File 'lib/saml/kit/builders/assertion.rb', line 18
def name_id
user.name_id_for(name_id_format)
end
|
14
15
16
|
# File 'lib/saml/kit/builders/assertion.rb', line 14
def name_id_format
request.name_id_format
end
|