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,
{String? phoneCountryCode}) async {
AuthRequest authData = await OIDCClient.prepareLogin();
return AuthClient.registerByPhoneCode(phone, code, password,
phoneCountryCode: phoneCountryCode, authData: authData);
}