const googleAuth = require('google-auth-library'); const SCOPES = ['https://www.googleapis.com/auth/cloud-platform']; async function getAccessToken() { const serviceAccount = require('/path/to/service_account_key.json'); const jwtClient = new googleAuth.JWT( serviceAccount.client_email, null, serviceAccount.private_key, SCOPES, null ); return jwtClient.authorize().then((tokens) => tokens.access_token); }
top of page

Dan's Portfolio

Dan's Portfolio

Daniel's Logo Designs

Daniel's Logo Designs

Daniel's Poster Designs

Daniel's Poster Designs

Daniel's PostCard Designs

Daniel's PostCard Designs

bottom of page