Sha256: c6d1cdfec28879c736f79b0ce79159811a3f4e179031f129135fb0f620e4e543
Contents?: true
Size: 639 Bytes
Versions: 6
Compression:
Stored size: 639 Bytes
Contents
require 'builder' module SamlIdp class LogoutBuilder include Signable # this is an abstract base class. def build raise "#{self.class} must implement build method" end def reference_id UUID.generate end def digest algorithm.hexdigest raw end def encoded @encoded ||= encode end def raw build end def encode Base64.strict_encode64(raw) end private :encode def response_id_string "_#{response_id}" end private :response_id_string def now_iso Time.now.utc.iso8601 end private :now_iso end end
Version data entries
6 entries across 6 versions & 2 rubygems