loginByPhoneCode static method

Future<AuthResult> loginByPhoneCode(
  1. String phone,
  2. String code, {
  3. String? phoneCountryCode,
})

OIDC Login by phone code #

Implementation

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