firebaseoauth2
Advanced tools
Comparing version
@@ -252,2 +252,4 @@ const express = require("express"); | ||
.then(function(clientInfo){ | ||
console.log(252, clientInfo) | ||
if(clientInfo.client.client_secret == client_secret){ | ||
@@ -445,5 +447,8 @@ updateToken(clientInfo) | ||
const getClientByRef = (ref) => { | ||
console.log('getClientByRef') | ||
return new Promise(function(resolve, reject){ | ||
ref.once('value') | ||
if(snapshot.val()){ | ||
console.log(448, snapshot.val()) | ||
const value = snapshot.val() | ||
@@ -455,2 +460,4 @@ const uid = value.uid | ||
.then(function(client){ | ||
console.log(456, client) | ||
resolve({ | ||
@@ -457,0 +464,0 @@ uid : uid, |
{ | ||
"name": "firebaseoauth2", | ||
"version": "0.3.5", | ||
"version": "0.3.6", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "main": "indexjs.js", |
13715
1.1%432
0.93%