class SamlIdp::LogoutBuilder
Public Instance Methods
digest()
click to toggle source
# File lib/saml_idp/logout_builder.rb, line 15 def digest algorithm.hexdigest raw end
encoded()
click to toggle source
# File lib/saml_idp/logout_builder.rb, line 19 def encoded @encoded ||= encode end
raw()
click to toggle source
# File lib/saml_idp/logout_builder.rb, line 23 def raw build end
reference_id()
click to toggle source
# File lib/saml_idp/logout_builder.rb, line 11 def reference_id UUID.generate end
Private Instance Methods
build()
click to toggle source
this is an abstract base class.
# File lib/saml_idp/logout_builder.rb, line 7 def build raise "#{self.class} must implement build method" end
encode()
click to toggle source
# File lib/saml_idp/logout_builder.rb, line 27 def encode Base64.strict_encode64(raw) end
now_iso()
click to toggle source
# File lib/saml_idp/logout_builder.rb, line 37 def now_iso Time.now.utc.iso8601 end
response_id_string()
click to toggle source
# File lib/saml_idp/logout_builder.rb, line 32 def response_id_string "_#{response_id}" end