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/mongodb.

Source adapters/mongodb/auth_api_keys.go:133

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

Related types

  • Store

    A replica-set implementation of Ridu’s document, snapshot, auth, preference, task, lock, upload, readiness, and migration contracts.

  • AuthAPIKey

    A persisted API-key digest and safe metadata.