Uses of Class
com.google.auth.oauth2.AccessToken
-
Packages that use AccessToken Package Description com.google.auth.appengine com.google.auth.oauth2 -
-
Uses of AccessToken in com.google.auth.appengine
Methods in com.google.auth.appengine that return AccessToken Modifier and Type Method Description AccessTokenAppEngineCredentials. refreshAccessToken()Refresh the access token by getting it from the App Identity service -
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 objectMethods in com.google.auth.oauth2 that return AccessToken Modifier and Type Method Description AccessTokenAccessToken.Builder. build()protected AccessTokenExternalAccountCredentials. exchangeExternalCredentialForAccessToken(com.google.auth.oauth2.StsTokenExchangeRequest stsTokenExchangeRequest)Exchanges the external credential for a Google Cloud access token.AccessTokenOAuth2Credentials.Builder. getAccessToken()AccessTokenOAuth2Credentials. getAccessToken()Returns the cached access token.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 OAuth2CredentialsOAuth2Credentials. create(AccessToken accessToken)Returns the credentials instance from the given access token.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.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)Constructor with explicit access token.GoogleCredentials(AccessToken accessToken, String quotaProjectId)GoogleCredentials(AccessToken accessToken, Duration refreshMargin, Duration expirationMargin)Constructor with explicit access token and refresh timesOAuth2Credentials(AccessToken accessToken)Constructor with explicit access token.OAuth2Credentials(AccessToken accessToken, Duration refreshMargin, Duration expirationMargin)OAuth2CredentialsWithRefresh(AccessToken accessToken, OAuth2CredentialsWithRefresh.OAuth2RefreshHandler refreshHandler)
-