Uses of Class
com.google.auth.oauth2.AccessToken
Packages that use AccessToken
-
Uses of AccessToken in com.google.auth.oauth2
Subclasses of AccessToken in com.google.auth.oauth2Modifier and TypeClassDescriptionclassRepresents a temporary IdToken and its JsonWebSignature objectMethods in com.google.auth.oauth2 that return AccessTokenModifier and TypeMethodDescriptionAccessToken.Builder.build()protected AccessTokenExternalAccountCredentials.exchangeExternalCredentialForAccessToken(StsTokenExchangeRequest stsTokenExchangeRequest) Exchanges the external credential for a Google Cloud access token.OAuth2Credentials.Builder.getAccessToken()final AccessTokenOAuth2Credentials.getAccessToken()Returns the cached access token.StsTokenExchangeResponse.getAccessToken()UserAuthorizer.TokenResponseWithConfig.getAccessToken()Returns the access token obtained from the token exchange.AwsCredentials.refreshAccessToken()CloudShellCredentials.refreshAccessToken()ComputeEngineCredentials.refreshAccessToken()Refresh the access token by getting it from the GCE metadata serverDownscopedCredentials.refreshAccessToken()ExternalAccountAuthorizedUserCredentials.refreshAccessToken()GdchCredentials.refreshAccessToken()Refresh the OAuth2 access token by getting a new access token using a JSON Web Token (JWT).IdentityPoolCredentials.refreshAccessToken()IdTokenCredentials.refreshAccessToken()ImpersonatedCredentials.refreshAccessToken()OAuth2Credentials.refreshAccessToken()Method to refresh the access token according to the specific type of credentials.OAuth2CredentialsWithRefresh.OAuth2RefreshHandler.refreshAccessToken()OAuth2CredentialsWithRefresh.refreshAccessToken()Refreshes the access token using the providedOAuth2CredentialsWithRefresh.OAuth2RefreshHandler.PluggableAuthCredentials.refreshAccessToken()ServiceAccountCredentials.refreshAccessToken()Refreshes the OAuth2 access token by getting a new access token using a JSON Web Token (JWT).UserCredentials.refreshAccessToken()Refreshes the OAuth2 access token by getting a new access token from the refresh tokenMethods in com.google.auth.oauth2 with parameters of type AccessTokenModifier and TypeMethodDescriptionstatic GoogleCredentialsGoogleCredentials.create(AccessToken accessToken) Returns the credentials instance from the given access token.static GoogleCredentialsGoogleCredentials.create(String universeDomain, AccessToken accessToken) Returns the credentials instance from the given access token and universe domain.static OAuth2CredentialsOAuth2Credentials.create(AccessToken accessToken) Returns the credentials instance from the given access token.ExternalAccountAuthorizedUserCredentials.Builder.setAccessToken(AccessToken accessToken) Sets the optional access token.GoogleCredentials.Builder.setAccessToken(AccessToken token) OAuth2Credentials.Builder.setAccessToken(AccessToken token) OAuth2CredentialsWithRefresh.Builder.setAccessToken(AccessToken token) Sets theAccessTokento be consumed.UserCredentials.Builder.setAccessToken(AccessToken token) Constructors in com.google.auth.oauth2 with parameters of type AccessTokenModifierConstructorDescriptionprotectedBuilder(AccessToken accessToken) GoogleCredentials(AccessToken accessToken) Deprecated.protectedGoogleCredentials(AccessToken accessToken, String quotaProjectId) Deprecated.protectedGoogleCredentials(AccessToken accessToken, Duration refreshMargin, Duration expirationMargin) Deprecated.protectedOAuth2Credentials(AccessToken accessToken) Constructor with explicit access token.protectedOAuth2Credentials(AccessToken accessToken, Duration refreshMargin, Duration expirationMargin) protectedOAuth2CredentialsWithRefresh(AccessToken accessToken, OAuth2CredentialsWithRefresh.OAuth2RefreshHandler refreshHandler)