Sha256: baafbc44ea416480c38aedd1c8f8b76da04b6391e1fd1d2ce160e92e1258fbbd

Contents?: true

Size: 319 Bytes

Versions: 5

Compression:

Stored size: 319 Bytes

Contents

module Saml
  module Kit
    # This class is used primary for generating ID.
    #https://www.w3.org/2001/XMLSchema.xsd
    class Id

     # Generate an ID that conforms to the XML Schema.
      # https://www.w3.org/2001/XMLSchema.xsd
      def self.generate
        "_#{SecureRandom.uuid}"
      end
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
saml-kit-0.3.0 lib/saml/kit/id.rb
saml-kit-0.2.18 lib/saml/kit/id.rb
saml-kit-0.2.17 lib/saml/kit/id.rb
saml-kit-0.2.16 lib/saml/kit/id.rb
saml-kit-0.2.15 lib/saml/kit/id.rb