Class: SamlIdp::LogoutBuilder

Inherits:
Object
  • Object
show all
Includes:
Signable
Defined in:
lib/saml_idp/logout_builder.rb

Direct Known Subclasses

LogoutRequestBuilder, LogoutResponseBuilder

Instance Method Summary collapse

Methods included from Signable

included, #sign, #signed

Instance Method Details

#buildObject

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

#digestObject



15
16
17
# File 'lib/saml_idp/logout_builder.rb', line 15

def digest
  algorithm.hexdigest raw
end

#encodedObject



19
20
21
# File 'lib/saml_idp/logout_builder.rb', line 19

def encoded
  @encoded ||= encode
end

#rawObject



23
24
25
# File 'lib/saml_idp/logout_builder.rb', line 23

def raw 
  build
end

#reference_idObject



11
12
13
# File 'lib/saml_idp/logout_builder.rb', line 11

def reference_id
  UUID.generate
end