Class: SamlIdp::LogoutBuilder
- Inherits:
-
Object
- Object
- SamlIdp::LogoutBuilder
- Includes:
- Signable
- Defined in:
- lib/saml_idp/logout_builder.rb
Direct Known Subclasses
Instance Attribute Summary collapse
-
#algorithm ⇒ Object
Returns the value of attribute algorithm.
-
#issuer_uri ⇒ Object
Returns the value of attribute issuer_uri.
-
#response_id ⇒ Object
Returns the value of attribute response_id.
-
#saml_slo_url ⇒ Object
Returns the value of attribute saml_slo_url.
Instance Method Summary collapse
-
#build ⇒ Object
this is an abstract base class.
- #encoded ⇒ Object
-
#initialize(response_id, issuer_uri, saml_slo_url, algorithm) ⇒ LogoutBuilder
constructor
A new instance of LogoutBuilder.
- #raw ⇒ Object
- #reference_id ⇒ Object
Methods included from Signable
Constructor Details
#initialize(response_id, issuer_uri, saml_slo_url, algorithm) ⇒ LogoutBuilder
Returns a new instance of LogoutBuilder.
11 12 13 14 15 16 |
# File 'lib/saml_idp/logout_builder.rb', line 11 def initialize(response_id, issuer_uri, saml_slo_url, algorithm) self.response_id = response_id self.issuer_uri = issuer_uri self.saml_slo_url = saml_slo_url self.algorithm = algorithm end |
Instance Attribute Details
#algorithm ⇒ Object
Returns the value of attribute algorithm.
9 10 11 |
# File 'lib/saml_idp/logout_builder.rb', line 9 def algorithm @algorithm end |
#issuer_uri ⇒ Object
Returns the value of attribute issuer_uri.
7 8 9 |
# File 'lib/saml_idp/logout_builder.rb', line 7 def issuer_uri @issuer_uri end |
#response_id ⇒ Object
Returns the value of attribute response_id.
6 7 8 |
# File 'lib/saml_idp/logout_builder.rb', line 6 def response_id @response_id end |
#saml_slo_url ⇒ Object
Returns the value of attribute saml_slo_url.
8 9 10 |
# File 'lib/saml_idp/logout_builder.rb', line 8 def saml_slo_url @saml_slo_url end |
Instance Method Details
#build ⇒ Object
this is an abstract base class.
19 20 21 |
# File 'lib/saml_idp/logout_builder.rb', line 19 def build raise "#{self.class} must implement build method" end |
#encoded ⇒ Object
27 28 29 |
# File 'lib/saml_idp/logout_builder.rb', line 27 def encoded @encoded ||= encode end |
#raw ⇒ Object
31 32 33 |
# File 'lib/saml_idp/logout_builder.rb', line 31 def raw build end |
#reference_id ⇒ Object
23 24 25 |
# File 'lib/saml_idp/logout_builder.rb', line 23 def reference_id self.response_id end |