method

Store.FindAPIKey

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

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

Source adapters/postgres/auth.go:450

@param ctx
The ctx value.
@param id
The id value.
@param now
The now value.
@returns
The declared result.

Related types

  • Store

    A PostgreSQL implementation of Ridu’s document, snapshot, auth, preference, task, job, lock, upload-reference, and migration store contracts.

  • AuthAPIKey

    A persisted API-key digest and safe metadata.