Class: AppIdentity::Versions::RandomNonce
- Defined in:
- lib/app_identity/versions.rb
Overview
:nodoc:
Direct Known Subclasses
Instance Method Summary collapse
-
#generate_nonce ⇒ Object
:nodoc:.
-
#nonce_type ⇒ Object
:nodoc:.
Methods inherited from Base
#check_nonce!, defined, inherited, #inspect, instance, #make_digest
Instance Method Details
#generate_nonce ⇒ Object
:nodoc:
63 64 65 |
# File 'lib/app_identity/versions.rb', line 63 def generate_nonce # :nodoc: SecureRandom.urlsafe_base64(32) end |
#nonce_type ⇒ Object
:nodoc:
59 60 61 |
# File 'lib/app_identity/versions.rb', line 59 def nonce_type # :nodoc: :random end |