public async Task UpdatePhoneNumberAsync(IPhoneAuthCredential credential) { try { await _user.UpdatePhoneNumberAsync(credential.ToNative()).ConfigureAwait(false); } catch (FirebaseException 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 Task UpdatePhoneNumberAsync(string verificationId, string smsCode) { return(_wrapped.UpdatePhoneNumberAsync(PhoneAuthProvider.GetCredential(verificationId, smsCode))); }