Class: Himari::TokenString::Verification

Inherits:
Data
  • Object
show all
Defined in:
lib/himari/token_string.rb

Overview

Outcome of a successful verify_secret!: which stored secret slot the presented secret matched (:current or :previous) and the hash it matched against. nil until verified.

Instance Attribute Summary collapse

Instance Attribute Details

#secret_hashObject (readonly)

Returns the value of attribute secret_hash

Returns:

  • (Object)

    the current value of secret_hash



18
19
20
# File 'lib/himari/token_string.rb', line 18

def secret_hash
  @secret_hash
end

#viaObject (readonly)

Returns the value of attribute via

Returns:

  • (Object)

    the current value of via



18
19
20
# File 'lib/himari/token_string.rb', line 18

def via
  @via
end