Class: AppIdentity::Versions::V2

Inherits:
TimestampNonce show all
Defined in:
lib/app_identity/versions.rb

Overview

V2 uses a timestamp-based nonce value with SHA256 digests.

The nonce values will be verified to be within plus or minus a configured number of seconds.

Instance Method Summary collapse

Methods inherited from TimestampNonce

#check_nonce!, #generate_nonce, #nonce_type

Methods inherited from Base

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

Instance Method Details

#digest_algorithmObject

:nodoc:



115
116
117
# File 'lib/app_identity/versions.rb', line 115

def digest_algorithm # :nodoc:
  Digest::SHA256
end