method

Store.FindAuthCredential

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

Arguments

ArgumentTypeDescription
ctxcontext.ContextThe ctx value.
collectionschema.CollectionThe collection value.
identitystringThe identity value.

Returns

The declared result.

(store.AuthCredential, error)

Full signature

func (backend *Store) FindAuthCredential( ctx context.Context, collection schema.Collection, identity string, ) (store.AuthCredential, error)

Source adapters/postgres/auth.go:92

Related types

  • Store

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

  • Collection

    The resolved contract for a collection.

  • AuthCredential

    Private password and lockout state associated with one user document.