UNPKG

firebase_id_token_verifier

Version:

Firebase id token verifier

12 lines (9 loc) 299 B
var auth_1 = require("./auth"); function getAuth(app) { if (typeof app === 'undefined') { app = index_1.getApp(); } var firebaseApp = app; return firebaseApp.getOrInitService('auth', function (app) { return new auth_1.Auth(app); }); } exports.getAuth = getAuth;