registerByUserName static method

Future<AuthResult> registerByUserName(
  1. String username,
  2. String password, {
  3. AuthRequest? authRequest,
})

OIDC register a new user by username and a password.

Implementation

static Future<AuthResult> registerByUserName(String username, String password,
    {AuthRequest? authRequest}) async {
  AuthRequest authData = await OIDCClient.prepareLogin();
  return AuthClient.registerByUserName(username, password,
      authData: authData);
}