Module: Henlo::Helpers::Util
- Defined in:
- lib/henlo/helpers/util.rb
Class Method Summary collapse
-
.generate_jti ⇒ Object
Generates a random string in the format of “a5391f26-1136-46f3-a3d3-ea4e1e558f06” to use as a unique jwt identifier.
Class Method Details
.generate_jti ⇒ Object
Generates a random string in the format of “a5391f26-1136-46f3-a3d3-ea4e1e558f06” to use as a unique jwt identifier.
11 12 13 |
# File 'lib/henlo/helpers/util.rb', line 11 def self.generate_jti SecureRandom.uuid end |