- CloudShellCredentials - Class in com.google.auth.oauth2
-
OAuth2 credentials representing the built-in service account for Google Cloud Shell.
- CloudShellCredentials(int) - Constructor for class com.google.auth.oauth2.CloudShellCredentials
-
- com.google.auth.http - package com.google.auth.http
-
- com.google.auth.oauth2 - package com.google.auth.oauth2
-
- ComputeEngineCredentials - Class in com.google.auth.oauth2
-
OAuth2 credentials representing the built-in service account for a Google Compute Engine VM.
- ComputeEngineCredentials() - Constructor for class com.google.auth.oauth2.ComputeEngineCredentials
-
Constructor with minimum information and default behavior.
- ComputeEngineCredentials(HttpTransport) - Constructor for class com.google.auth.oauth2.ComputeEngineCredentials
-
Constructor with overridden transport.
- createScoped(Collection<String>) - Method in class com.google.auth.oauth2.GoogleCredentials
-
If the credentials support scopes, create a copy of the the idenitity with the specified
scopes, otherwise returns the same instance.
- createScoped(Collection<String>) - Method in class com.google.auth.oauth2.ServiceAccountCredentials
-
Clones the service account with the specified scopes.
- createScopedRequired() - Method in class com.google.auth.oauth2.GoogleCredentials
-
Indicates whether the credentials require scopes to be specified via a call to
{link GoogleCredentials#createScoped} before use.
- createScopedRequired() - Method in class com.google.auth.oauth2.ServiceAccountCredentials
-
Returns whther the scopes are empty, meaning createScoped must be called before use.