Class: AppIdentity::Versions::RandomNonce

Inherits:
Base
  • Object
show all
Defined in:
lib/app_identity/versions.rb

Overview

:nodoc:

Direct Known Subclasses

V1

Instance Method Summary collapse

Methods inherited from Base

#check_nonce!, defined, inherited, #inspect, instance, #make_digest

Instance Method Details

#generate_nonceObject

:nodoc:



63
64
65
# File 'lib/app_identity/versions.rb', line 63

def generate_nonce # :nodoc:
  SecureRandom.urlsafe_base64(32)
end

#nonce_typeObject

:nodoc:



59
60
61
# File 'lib/app_identity/versions.rb', line 59

def nonce_type # :nodoc:
  :random
end