core.medplumclient.startnewuser | Medplum

MedplumClient.startNewUser() method

Initiates a new user flow.

This method is part of the two different user registration flows: 1) New Practitioner and new Project 2) New Patient registration

Signature:

startNewUser(newUserRequest: NewUserRequest, options?: MedplumRequestOptions): Promise<LoginAuthenticationResponse>;

Parameters

Parameter Type Description
newUserRequest NewUserRequest Register request including email and password.
options MedplumRequestOptions (Optional) Optional fetch options.

Returns:

Promise< LoginAuthenticationResponse >

Promise to the authentication response.