core.medplumclient.startnewuser
Home > @medplum/core > MedplumClient > startNewUser
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?: RequestInit): Promise<LoginAuthenticationResponse>;
Parameters
Parameter | Type | Description |
---|---|---|
newUserRequest | NewUserRequest | Register request including email and password. |
options | RequestInit | (Optional) Optional fetch options. |
Returns:
Promise<LoginAuthenticationResponse>
Promise to the authentication response.