Uses of Class
com.google.auth.oauth2.AccessToken
-
Packages that use AccessToken Package Description com.google.auth.oauth2 -
-
Uses of AccessToken in com.google.auth.oauth2
Subclasses of AccessToken in com.google.auth.oauth2 Modifier and Type Class Description classIdTokenRepresents a temporary IdToken and its JsonWebSignature objectFields in com.google.auth.oauth2 declared as AccessToken Modifier and Type Field Description private AccessTokenOAuth2Credentials.Builder. accessTokenprivate AccessTokenStsTokenExchangeResponse. accessTokenprivate AccessTokenUserAuthorizer.TokenResponseWithConfig. accessTokenprivate AccessTokenUserAuthorizer.TokenResponseWithConfig.Builder. accessTokenprivate AccessTokenOAuth2Credentials.OAuthValue. temporaryAccessMethods in com.google.auth.oauth2 that return AccessToken Modifier and Type Method Description AccessTokenAccessToken.Builder. build()protected AccessTokenExternalAccountCredentials. exchangeExternalCredentialForAccessToken(StsTokenExchangeRequest stsTokenExchangeRequest)Exchanges the external credential for a Google Cloud access token.AccessTokenOAuth2Credentials.Builder. getAccessToken()AccessTokenOAuth2Credentials. getAccessToken()Returns the cached access token.AccessTokenStsTokenExchangeResponse. getAccessToken()AccessTokenUserAuthorizer.TokenResponseWithConfig. getAccessToken()Returns the access token obtained from the token exchange.AccessTokenAppEngineCredentials. refreshAccessToken()Refresh the access token by getting it from the App Identity service.AccessTokenAwsCredentials. refreshAccessToken()AccessTokenCloudShellCredentials. refreshAccessToken()AccessTokenComputeEngineCredentials. refreshAccessToken()Refresh the access token by getting it from the GCE metadata serverAccessTokenDownscopedCredentials. refreshAccessToken()AccessTokenExternalAccountAuthorizedUserCredentials. refreshAccessToken()AccessTokenGdchCredentials. refreshAccessToken()Refresh the OAuth2 access token by getting a new access token using a JSON Web Token (JWT).AccessTokenIdentityPoolCredentials. refreshAccessToken()AccessTokenIdTokenCredentials. refreshAccessToken()AccessTokenImpersonatedCredentials. refreshAccessToken()AccessTokenOAuth2Credentials. refreshAccessToken()Method to refresh the access token according to the specific type of credentials.AccessTokenOAuth2CredentialsWithRefresh.OAuth2RefreshHandler. refreshAccessToken()AccessTokenOAuth2CredentialsWithRefresh. refreshAccessToken()Refreshes the access token using the providedOAuth2CredentialsWithRefresh.OAuth2RefreshHandler.AccessTokenPluggableAuthCredentials. refreshAccessToken()AccessTokenServiceAccountCredentials. refreshAccessToken()Refreshes the OAuth2 access token by getting a new access token using a JSON Web Token (JWT).AccessTokenUserCredentials. 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 AccessToken Modifier and Type Method Description static GoogleCredentialsGoogleCredentials. create(AccessToken accessToken)Returns the credentials instance from the given access token.static GoogleCredentialsGoogleCredentials. create(java.lang.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.(package private) static OAuth2Credentials.OAuthValueOAuth2Credentials.OAuthValue. create(AccessToken token, java.util.Map<java.lang.String,java.util.List<java.lang.String>> additionalHeaders)ExternalAccountAuthorizedUserCredentials.BuilderExternalAccountAuthorizedUserCredentials.Builder. setAccessToken(AccessToken accessToken)Sets the optional access token.GoogleCredentials.BuilderGoogleCredentials.Builder. setAccessToken(AccessToken token)OAuth2Credentials.BuilderOAuth2Credentials.Builder. setAccessToken(AccessToken token)OAuth2CredentialsWithRefresh.BuilderOAuth2CredentialsWithRefresh.Builder. setAccessToken(AccessToken token)Sets theAccessTokento be consumed.(package private) UserAuthorizer.TokenResponseWithConfig.BuilderUserAuthorizer.TokenResponseWithConfig.Builder. setAccessToken(AccessToken accessToken)UserCredentials.BuilderUserCredentials.Builder. setAccessToken(AccessToken token)Constructors in com.google.auth.oauth2 with parameters of type AccessToken Constructor Description Builder(AccessToken accessToken)GoogleCredentials(AccessToken accessToken)Deprecated.GoogleCredentials(AccessToken accessToken, java.lang.String quotaProjectId)Deprecated.GoogleCredentials(AccessToken accessToken, java.time.Duration refreshMargin, java.time.Duration expirationMargin)Deprecated.OAuth2Credentials(AccessToken accessToken)Constructor with explicit access token.OAuth2Credentials(AccessToken accessToken, java.time.Duration refreshMargin, java.time.Duration expirationMargin)OAuth2CredentialsWithRefresh(AccessToken accessToken, OAuth2CredentialsWithRefresh.OAuth2RefreshHandler refreshHandler)OAuthValue(AccessToken temporaryAccess, java.util.Map<java.lang.String,java.util.List<java.lang.String>> requestMetadata)
-