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

Method fromNative

packages/firebase-ui/index.ios.ts:370–378  ·  view source on GitHub ↗
(response: FIRAuthDataResult)

Source from the content-addressed store, hash-verified

368 _native: FIRAuthDataResult;
369 _isOauthCred = false;
370 static fromNative(response: FIRAuthDataResult) {
371 if (response instanceof FIRAuthDataResult) {
372 const ret = new IdpResponse();
373 ret._native = response;
374 ret._isOauthCred = response.credential instanceof FIROAuthCredential;
375 return ret;
376 }
377 return null;
378 }
379
380 get native() {
381 return this._native;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected