Class GoogleAuthUtils

java.lang.Object
com.google.auth.oauth2.GoogleAuthUtils

public class GoogleAuthUtils extends Object
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
  • Constructor Details

    • GoogleAuthUtils

      public GoogleAuthUtils()
  • Method Details

    • getWellKnownCredentialsPath

      public static final String getWellKnownCredentialsPath()
      Gets the path to the well-known Application Default Credentials file location
      Returns:
      the path to the well-known Application Default Credentials file location