🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more

firebaseoauth2

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

firebaseoauth2 - npm Package Compare versions

Comparing version

to
0.2.6

@@ -379,5 +379,7 @@ const express = require("express");

const getClientByAuthorizeCode = (authorize_code) => {
console.log('getClientByAuthorizeCode', authorize_code)
return new Promise(function(resolve, reject){
FirebaseDb.ref('/oAuth/AuthorizeCodes/' + authorize_code).once('value')
.then(function(snapshot){
console.log(383, snapshot.val())
if(snapshot.val()){

@@ -403,5 +405,7 @@ const value = snapshot.val()

const getClientByUidAndClientId = (uid, client_id) => {
console.log('getClientByUidAndClientId', uid, client_id)
return new Promise(function(resolve, reject){
FirebaseDb.ref('/oAuth/users/' + uid + '/' + client_id)
FirebaseDb.ref('/oAuth/users/' + uid + '/' + client_id).once('value')
.then(function(snapshot){
console.log(408, snapshot.val())
if(snapshot.val()){

@@ -408,0 +412,0 @@ resolve(snapshot.val())

{
"name": "firebaseoauth2",
"version": "0.2.5",
"version": "0.2.6",
"description": "",

@@ -5,0 +5,0 @@ "main": "indexjs.js",