Package | Description |
---|---|
com.google.auth.oauth2 |
Modifier and Type | Method and Description |
---|---|
static IdTokenProvider.Option |
IdTokenProvider.Option.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static IdTokenProvider.Option[] |
IdTokenProvider.Option.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
List<IdTokenProvider.Option> |
IdTokenCredentials.Builder.getOptions() |
Modifier and Type | Method and Description |
---|---|
IdToken |
IdTokenProvider.idTokenWithAudience(String targetAudience,
List<IdTokenProvider.Option> options)
Returns a Google OpenID Token with the provided audience field.
|
IdToken |
ImpersonatedCredentials.idTokenWithAudience(String targetAudience,
List<IdTokenProvider.Option> options)
Returns an IdToken for the current Credential.
|
IdToken |
ServiceAccountCredentials.idTokenWithAudience(String targetAudience,
List<IdTokenProvider.Option> options)
Returns a Google ID Token from the metadata server on ComputeEngine.
|
IdToken |
ComputeEngineCredentials.idTokenWithAudience(String targetAudience,
List<IdTokenProvider.Option> options)
Returns a Google ID Token from the metadata server on ComputeEngine
|
IdToken |
UserCredentials.idTokenWithAudience(String targetAudience,
List<IdTokenProvider.Option> options)
Returns a Google ID Token from the refresh token response.
|
IdTokenCredentials.Builder |
IdTokenCredentials.Builder.setOptions(List<IdTokenProvider.Option> options) |
Copyright © 2023 Google. All rights reserved.