core.medplumclient.startlogin
Home > @medplum/core > MedplumClient > startLogin
MedplumClient.startLogin() method
Initiates a user login flow.
Signature:
startLogin(loginRequest: EmailPasswordLoginRequest, options?: RequestInit): Promise<LoginAuthenticationResponse>;
Parameters
Parameter | Type | Description |
---|---|---|
loginRequest | EmailPasswordLoginRequest | Login request including email and password. |
options | RequestInit | (Optional) Optional fetch options. |
Returns:
Promise<LoginAuthenticationResponse>
Promise to the authentication response.