Uses of Class
com.google.auth.oauth2.IdToken
Packages that use IdToken
-
Uses of IdToken in com.google.auth.oauth2
Methods in com.google.auth.oauth2 that return IdTokenModifier and TypeMethodDescriptionstatic IdTokenCreates an IdToken given the encoded Json Web Signature.static IdTokenCreates an IdToken given the encoded Json Web Signature and JSON Factory(package private) static IdTokenIamUtils.getIdToken(String serviceAccountEmail, Credentials credentials, com.google.api.client.http.HttpTransport transport, String targetAudience, boolean includeEmail, Map<String, ?> additionalFields, CredentialTypeForMetrics credentialTypeForMetrics) Returns an IdToken issued to the serviceAccount with a specified targetAudienceIdTokenCredentials.getIdToken()private IdTokenServiceAccountCredentials.getIdTokenIamEndpoint(String targetAudience) Use IAM generateIdToken endpoint to obtain an ID token.private IdTokenServiceAccountCredentials.getIdTokenOauthEndpoint(String targetAudience) Uses the Oauth Endpoint to generate an ID token.ComputeEngineCredentials.idTokenWithAudience(String targetAudience, List<IdTokenProvider.Option> options) Returns a Google ID Token from the metadata server on ComputeEngineIdTokenProvider.idTokenWithAudience(String targetAudience, List<IdTokenProvider.Option> options) Returns a Google OpenID Token with the provided audience field.ImpersonatedCredentials.idTokenWithAudience(String targetAudience, List<IdTokenProvider.Option> options) Returns an IdToken for the current Credential.ServiceAccountCredentials.idTokenWithAudience(String targetAudience, List<IdTokenProvider.Option> options) Returns a Google ID Token from either the Oauth or IAM Endpoint.UserCredentials.idTokenWithAudience(String targetAudience, List<IdTokenProvider.Option> options) Returns a Google ID Token from the refresh token response.