MCPcopy Index your code
hub / github.com/NativeScript/firebase / provider

Method provider

packages/firebase-auth/index.ios.ts:681–689  ·  view source on GitHub ↗
(auth?: Auth)

Source from the content-addressed store, hash-verified

679 }
680
681 static provider(auth?: Auth) {
682 const provider = new PhoneAuthProvider();
683 if (auth) {
684 provider._native = FIRPhoneAuthProvider.providerWithAuth(auth.native);
685 } else {
686 provider._native = FIRPhoneAuthProvider.provider();
687 }
688 return provider;
689 }
690
691 credential(verificationId: string, verificationCode: string) {
692 return AuthCredential.fromNative(this._native.credentialWithVerificationIDVerificationCode(verificationId, verificationCode));

Callers

nothing calls this directly

Calls 1

providerMethod · 0.45

Tested by

no test coverage detected