method

Store.FindAuthCredential

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

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

Source adapters/mongodb/auth.go:345

@param ctx
The ctx value.
@param collection
The collection value.
@param identity
The identity 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.

  • Collection

    The resolved contract for a collection.

  • AuthCredential

    Private password and lockout state associated with one user document.