Class: SamlIdp::LogoutBuilder
- Inherits:
-
Object
- Object
- SamlIdp::LogoutBuilder
show all
- Includes:
- Signable
- Defined in:
- lib/saml_idp/logout_builder.rb
Instance Method Summary
collapse
Methods included from Signable
included, #sign, #signed
Instance Method Details
#build ⇒ Object
this is an abstract base class.
7
8
9
|
# File 'lib/saml_idp/logout_builder.rb', line 7
def build
raise "#{self.class} must implement build method"
end
|
#digest ⇒ Object
15
16
17
|
# File 'lib/saml_idp/logout_builder.rb', line 15
def digest
algorithm.hexdigest raw
end
|
#encoded ⇒ Object
19
20
21
|
# File 'lib/saml_idp/logout_builder.rb', line 19
def encoded
@encoded ||= encode
end
|
#raw ⇒ Object
23
24
25
|
# File 'lib/saml_idp/logout_builder.rb', line 23
def raw
build
end
|
#reference_id ⇒ Object
11
12
13
|
# File 'lib/saml_idp/logout_builder.rb', line 11
def reference_id
UUID.generate
end
|