Class GoogleAuthUtils (1.19.0)

publicclass GoogleAuthUtils

This public class provides shared utilities for common OAuth2 utils or ADC. It also exposes convenience methods such as a getter for well-known Application Default Credentials file path

Inheritance

java.lang.Object > GoogleAuthUtils

Static Methods

getWellKnownCredentialsPath()

publicstaticfinalStringgetWellKnownCredentialsPath()

Gets the path to the well-known Application Default Credentials file location

Returns
Type Description
String

the path to the well-known Application Default Credentials file location

Constructors

GoogleAuthUtils()

publicGoogleAuthUtils()

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025年10月30日 UTC.