method

App.LoginWithOptions

func (application *App) LoginWithOptions( ctx context.Context, collection, email, password string, options LoginOptions, ) (AuthSession, error)

Authenticate and record safe client metadata on the resulting session.

Source core/auth.go:266

@param ctx
The ctx value.
@param collection
The collection value.
@param email
The email value.
@param password
The password value.
@param options
The options value.
@returns
The declared result.

Credential failures intentionally share one public response.

Related types

  • App

    A resolved application bound to operation services.

  • LoginOptions

    Request metadata and cookie-independent controls for local login.

  • AuthSession

    A newly authenticated session and its one-time raw token.