Class: SamlIdp::ResponseBuilder
- Inherits:
-
Object
- Object
- SamlIdp::ResponseBuilder
- Defined in:
- lib/saml_idp/response_builder.rb
Instance Attribute Summary collapse
-
#assertion_and_signature ⇒ Object
Returns the value of attribute assertion_and_signature.
-
#issuer_uri ⇒ Object
Returns the value of attribute issuer_uri.
-
#response_id ⇒ Object
Returns the value of attribute response_id.
-
#saml_acs_url ⇒ Object
Returns the value of attribute saml_acs_url.
-
#saml_request_id ⇒ Object
Returns the value of attribute saml_request_id.
Instance Method Summary collapse
- #encoded ⇒ Object
-
#initialize(response_id, issuer_uri, saml_acs_url, saml_request_id, assertion_and_signature) ⇒ ResponseBuilder
constructor
A new instance of ResponseBuilder.
- #raw ⇒ Object
Constructor Details
#initialize(response_id, issuer_uri, saml_acs_url, saml_request_id, assertion_and_signature) ⇒ ResponseBuilder
Returns a new instance of ResponseBuilder.
10 11 12 13 14 15 16 |
# File 'lib/saml_idp/response_builder.rb', line 10 def initialize(response_id, issuer_uri, saml_acs_url, saml_request_id, assertion_and_signature) self.response_id = response_id self.issuer_uri = issuer_uri self.saml_acs_url = saml_acs_url self.saml_request_id = saml_request_id self.assertion_and_signature = assertion_and_signature end |
Instance Attribute Details
#assertion_and_signature ⇒ Object
Returns the value of attribute assertion_and_signature.
8 9 10 |
# File 'lib/saml_idp/response_builder.rb', line 8 def assertion_and_signature @assertion_and_signature end |
#issuer_uri ⇒ Object
Returns the value of attribute issuer_uri.
5 6 7 |
# File 'lib/saml_idp/response_builder.rb', line 5 def issuer_uri @issuer_uri end |
#response_id ⇒ Object
Returns the value of attribute response_id.
4 5 6 |
# File 'lib/saml_idp/response_builder.rb', line 4 def response_id @response_id end |
#saml_acs_url ⇒ Object
Returns the value of attribute saml_acs_url.
6 7 8 |
# File 'lib/saml_idp/response_builder.rb', line 6 def saml_acs_url @saml_acs_url end |
#saml_request_id ⇒ Object
Returns the value of attribute saml_request_id.
7 8 9 |
# File 'lib/saml_idp/response_builder.rb', line 7 def saml_request_id @saml_request_id end |
Instance Method Details
#encoded ⇒ Object
18 19 20 |
# File 'lib/saml_idp/response_builder.rb', line 18 def encoded @encoded ||= encode end |
#raw ⇒ Object
22 23 24 |
# File 'lib/saml_idp/response_builder.rb', line 22 def raw build end |