method

App.RequestPasswordReset

func (application *App) RequestPasswordReset( ctx context.Context, collection, identity string, ) error

Issue and send a single-use reset token when configured.

Source core/auth.go:782

@param ctx
The ctx value.
@param collection
The collection value.
@param identity
The identity value.
@returns
The declared result.

Returns a non-enumerating success shape whether or not the identity exists. Raw tokens are delivered only to the trusted Config callback.

Related types

  • App

    A resolved application bound to operation services.