registerByPhoneCode static method

Future<AuthResult> registerByPhoneCode(
  1. String phone,
  2. String code,
  3. String password
)

OIDC register a new user by phone number and an SMS verification code.

Implementation

static Future<AuthResult> registerByPhoneCode(
    String phone, String code, String password) async {
  AuthRequest authData = await OIDCClient.prepareLogin();
  return AuthClient.registerByPhoneCode(phone, code, password,
      authData: authData);
}