stephenplusplus / google-auto-auth

Making it as easy as possible to authenticate a Google API request
MIT License
34 stars 9 forks source link

support apikey from google-auth-library #10

Closed stephenplusplus closed 6 years ago

stephenplusplus commented 7 years ago

Fixes #9

Blocked

A new release of google-auth-library with API Key support is required.


This PR adds support for getting an auth client from just an API Key:

var authClient = require('google-auto-auth')({ apiKey: '...' })
stephenplusplus commented 7 years ago

cc @cristiancavalli -- Please let me know if I did this right!