Skip to main content

foundation-comms.auth.login

Home > @genesislcap/foundation-comms > Auth > login

Auth.login() method

Logs in the user with the specified credentials.

Signature:

login(credentials: AuthInfo): Promise<LoginResult>;

Parameters

Parameter

Type

Description

credentials

AuthInfo

The user's login credentials.

Returns:

Promise<LoginResult>

A Promise that resolves to the result of the login attempt.