registerByPhoneCode static method
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);
}