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