signUp abstract method

Future<AuthenticationResponse> signUp({
  1. required String loginId,
  2. required String password,
  3. SignUpDetails? details,
})

Creates a new user that can later sign in with a password.

Uses loginId to identify the user, typically an email, phone, or any other unique identifier. The provided password will allow the user to sign in in the future and must conform to the password policy defined in the password settings in the Descope console. The optional details provides additional details about the user signing up. Returns an AuthenticationResponse upon successful authentication.

Implementation

Future<AuthenticationResponse> signUp({required String loginId, required String password, SignUpDetails? details});