method

Store.FindAPIKey

Public method Store.FindAPIKey from github.com/riducms/ridu/adapters/sqlite.

Arguments

ArgumentTypeDescription
ctxcontext.ContextThe ctx value.
idstringThe id value.
nowtime.TimeThe now value.

Returns

The declared result.

(store.AuthAPIKey, error)

Full signature

func (backend *Store) FindAPIKey( ctx context.Context, id string, now time.Time, ) (store.AuthAPIKey, error)

Source adapters/sqlite/auth.go:483

Related types

  • Store

    A SQLite implementation of Ridu’s document, snapshot, auth, preference, task, lock, version, and migration store contracts.

  • AuthAPIKey

    A persisted API-key digest and safe metadata.