MCPcopy Create free account
hub / github.com/NativeScript/firebase / fromNative

Method fromNative

packages/firebase-auth/index.ios.ts:740–747  ·  view source on GitHub ↗
(credential: any)

Source from the content-addressed store, hash-verified

738 protected _native: FIROAuthCredential;
739
740 static fromNative(credential: any) {
741 if (credential instanceof FIRAuthCredential) {
742 const nativeCredential = new OAuthCredential();
743 nativeCredential._native = credential as any;
744 return nativeCredential;
745 }
746 return null;
747 }
748
749 get native() {
750 return this._native;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected