public async Task UpdatePhoneNumberAsync(IPhoneAuthCredential credential) { try { await _user.UpdatePhoneNumberCredentialAsync(credential.ToNative()).ConfigureAwait(false); } catch (NSErrorException e) { throw ExceptionMapper.Map(e); } }
public async Task UpdatePhoneNumberAsync(IPhoneAuthCredential credential) { try { var wrapper = (PhoneAuthCredentialWrapper)credential; await _user.UpdatePhoneNumberAsync((PhoneAuthCredential)wrapper).ConfigureAwait(false); } catch (FirebaseException e) { throw ExceptionMapper.Map(e); } }
public PhoneNumberVerificationResult(IPhoneAuthCredential credential, string verificationId) { Credential = credential; VerificationId = verificationId; }
public IPhoneMultiFactorAssertion GetAssertion(IPhoneAuthCredential phoneAuthCredential) { var assertion = PhoneMultiFactorGenerator.GetAssertion(phoneAuthCredential.ToNative()); return(new PhoneMultiFactorAssertionWrapper(assertion)); }