Package com.google.api.gax.core
Class GoogleCredentialsProvider
java.lang.Object
com.google.api.gax.core.GoogleCredentialsProvider
- All Implemented Interfaces:
CredentialsProvider
GoogleCredentialsProvider acquires credentials using Application Default Credentials.
For more information on Application Default Credentials, see https://developers.google.com/identity/protocols/application-default-credentials.
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncom.google.auth.CredentialsGets the credentials which will be used to call the service.abstract booleanabstract GoogleCredentialsProvider.Builder
-
Constructor Details
-
GoogleCredentialsProvider
public GoogleCredentialsProvider()
-
-
Method Details
-
getScopesToApply
-
getJwtEnabledScopes
-
getUseJwtAccessWithScope
-
getCredentials
Description copied from interface:CredentialsProviderGets the credentials which will be used to call the service. If the credentials have not been acquired yet, then they will be acquired when this function is called.- Specified by:
getCredentialsin interfaceCredentialsProvider- Throws:
IOException
-
newBuilder
-
toBuilder
-