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.
Credential failures intentionally share one public response.
Related types
AppA resolved application bound to operation services.
LoginOptionsRequest metadata and cookie-independent controls for local login.
AuthSessionA newly authenticated session and its one-time raw token.