Registry / auth / googleauth

googleauth

JSON →
library1.17.1rbrubygemsunverified

Implements simple authorization for accessing Google APIs, with support for Application Default Credentials.

gem install googleauth
INSTALL
IMPORT
SIG · GOOGLEAUTH
G
googleauth
authrubyv1.17.1
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Google::Auth
require 'googleauth'

Obtain access credentials for Google APIs using Application Default Credentials.

require 'googleauth' scopes = ['https://www.googleapis.com/auth/cloud-platform'] authorizer = Google::Auth.get_application_default(scopes) credentials = authorizer.fetch_access_token! puts credentials['access_token']
Debug
Known issues

No known issues recorded.

Upgrade
Version history
1.17.1latest on RubyGems
Audit
Dependencies

No dependency data recorded yet.

Agent activity
25 hits · last 30 days
node
24
OpenAI (training)
1
Resources
googleauth — gem install googleauth · libregistry