Registry / auth / google-oauth-client-java6

google-oauth-client-java6

JSON →
library1.39.0javamavenunverified

Google OAuth Client Library for Java, supporting OAuth 2.0 authentication for Google APIs.

<dependency> <groupId>com.google.oauth-client</groupId> <artifactId>google-oauth-client-java6</artifactId> <version>1.39.0</version> </dependency>
INSTALL
IMPORT
SIG · GOOGLE-OAUTH-CLIEN
G
google-oauth-client-java6
authjavav1.39.0
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.

Credential
com.google.api.client.auth.oauth2.Credential

Obtain default application credentials

import com.google.api.client.auth.oauth2.Credential; import com.google.api.client.googleapis.auth.oauth2.GoogleCredential; public class Example { public void auth() throws Exception { Credential credential = GoogleCredential.getApplicationDefault(); } }
Debug
Known issues
breakingJava 6 version is outdated; consider using the newer google-oauth-client-java7+.
fix
Update to com.google.oauth-client:google-oauth-client-java7 or later.
affects: <=1.39.0
Upgrade
Version history
1.39.0latest on Maven
Audit
Dependencies

No dependency data recorded yet.

Agent activity
25 hits · last 30 days
node
24
Resources
google-oauth-client-java6 — mvn dependency:get google-oauth-client-java6 · libregistry