Get Homebrew installed on your mac if you don't already have it
Install highlight. "brew install highlight". (This brings down Lua and Boost as well)
Get Homebrew installed on your mac if you don't already have it
Install highlight. "brew install highlight". (This brings down Lua and Boost as well)
const admin = require('firebase-admin'); | |
function getIdToken(req) { | |
const authHeader = req.header('Authorization') || ''; | |
const parts = authHeader.split('Bearer '); | |
if (parts.length === 1) return null; | |
return parts[1]; | |
} |