Class: Mach::Persistence::DeltaAndNonceStore

Inherits:
Object
  • Object
show all
Defined in:
lib/mach/persistence/delta_and_nonce_store.rb

Direct Known Subclasses

InMemoryStore, RedisStore

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.configure(options = {}) ⇒ Object



5
6
7
# File 'lib/mach/persistence/delta_and_nonce_store.rb', line 5

def configure(options = {})
  self.new(options)
end

Instance Method Details

#add_delta(credential_id, delta_value, expires_in) ⇒ Object



14
15
16
# File 'lib/mach/persistence/delta_and_nonce_store.rb', line 14

def add_delta(credential_id, delta_value, expires_in)
  raise "Implement me"
end

#add_nonce(credential_id, nonce_value, timestamp) ⇒ Object



22
23
24
# File 'lib/mach/persistence/delta_and_nonce_store.rb', line 22

def add_nonce(credential_id, nonce_value, timestamp)
  raise "Implement me"
end

#find_delta_by(credential_id) ⇒ Object



10
11
12
# File 'lib/mach/persistence/delta_and_nonce_store.rb', line 10

def find_delta_by(credential_id)
  raise "Implement me"
end

#find_nonce_by(credential_id, nonce_value) ⇒ Object



18
19
20
# File 'lib/mach/persistence/delta_and_nonce_store.rb', line 18

def find_nonce_by(credential_id, nonce_value)
  raise "Implement me"
end