method

App.UnlockAuthUser

Find an account by configured identity and clear its login lock.

Arguments

ArgumentTypeDescription
ctxcontext.ContextThe ctx value.
collectionstringThe collection value.
identitystringThe identity value.
actorIdentity*AuthIdentityThe actorIdentity value.

Returns

The declared result.

error

How it works

Missing users remain indistinguishable from denied access.

Full signature

func (application *App) UnlockAuthUser( ctx context.Context, collection, identity string, actorIdentity *AuthIdentity, ) error

Source core/account.go:26

Related types

  • App

    A resolved application bound to operation services.

  • AuthIdentity

    An exact authenticated collection and actor document.