method

Store.FindAuthCredential

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

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/mongodb/auth.go:345

Related types

  • Store

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

  • Collection

    The resolved contract for a collection.

  • AuthCredential

    Private password and lockout state associated with one user document.