module Henlo::Helpers::Util

Public Class Methods

generate_jti() click to toggle source

Generates a random string in the format of “a5391f26-1136-46f3-a3d3-ea4e1e558f06” to use as a unique jwt identifier.

# File lib/henlo/helpers/util.rb, line 11
def self.generate_jti 
  SecureRandom.uuid
end