packages/auth/demo/public/script.js
function onSignInConfirmPhoneVerification() {
  var verificationId = $('#signin-phone-verification-id').val();
  var verificationCode = $('#signin-phone-verification-code').val();
  var credential = firebase.auth.PhoneAuthProvider.credential(
      verificationId, verificationCode);
  signInOrLinkCredential(credential);
}
function onSignInConfirmPhoneVerification() {
  var verificationId = $('#signin-phone-verification-id').val();
  var verificationCode = $('#signin-phone-verification-code').val();
  var credential = firebase.auth.PhoneAuthProvider.credential(
      verificationId, verificationCode);
  signInOrLinkCredential(credential);
}
function onSignInConfirmPhoneVerification ( ) { var verificationId = $ ( '#signin-phone-verification-id' ) . val ( ) ; var verificationCode = $ ( '#signin-phone-verification-code' ) . val ( ) ; var credential = firebase . auth . PhoneAuthProvider . credential ( verificationId , verificationCode ) ; signInOrLinkCredential ( credential ) ; }
Confirms a phone number verification for sign-in.
Confirms a phone number verification for sign - in .