Module: Worldline::Connect::SDK::Webhooks::SecretKeyStore

Included in:
InMemorySecretKeyStore
Defined in:
lib/worldline/connect/sdk/webhooks/secret_key_store.rb

Overview

An abstract store of secret keys. Implementation can store secret keys in a database, on disk, etc. Should be Thread-safe.

Instance Method Summary collapse

Instance Method Details

#get_secret_key(key_id) ⇒ Object

Retrieve secret key for given key id

Parameters:

  • key_id (String)

    key id of the secret key

Raises:



13
14
15
# File 'lib/worldline/connect/sdk/webhooks/secret_key_store.rb', line 13

def get_secret_key(key_id)
  raise NotImplementedError
end