AuthContainer.signupWithUsername() method
signupWithUsername is a shorthand of the signup() method.
Signature:
signupWithUsername(username: string, password: string, options?: {
realm?: string;
metadata?: JSONObject;
}): Promise<User>;
Parameters
Parameter | Type | Description |
---|---|---|
username | string | |
password | string | |
options | { realm?: string; metadata?: JSONObject; } |
Returns:
Promise<User>