stephenplusplus / google-auto-auth

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

Prepare for googleAuthLibrary#getCredentials. #26

Closed stephenplusplus closed 6 years ago

stephenplusplus commented 6 years ago

RE: https://github.com/googleapis/nodejs-storage/issues/39 This depends on https://github.com/google/google-auth-library-nodejs/pull/180

This adds a sign() method that will make a signBlob API request using the detected credentials. If a private key is available, it will sign locally.