Some or all of the information on this page might not apply to Trusted Cloud by S3NS.
Class AppIdentityCredential.AppEngineCredentialWrapper (2.7.2)
Note: Some or all of the information on this page might not apply
to Trusted Cloud. For a list of services that are available in
Trusted Cloud, see Services available for
Trusted Cloud .
Version 2.7.2keyboard_arrow_down
public static class AppIdentityCredential . AppEngineCredentialWrapper extends GoogleCredential
Beta
Credential wrapper for application identity that inherits from GoogleCredential.
Inherited Members
com.google.api.client.auth.oauth2.Credential.getAccessToken()
com.google.api.client.auth.oauth2.Credential.getClientAuthentication()
com.google.api.client.auth.oauth2.Credential.getClock()
com.google.api.client.auth.oauth2.Credential.getExpirationTimeMilliseconds()
com.google.api.client.auth.oauth2.Credential.getExpiresInSeconds()
com.google.api.client.auth.oauth2.Credential.getJsonFactory()
com.google.api.client.auth.oauth2.Credential.getMethod()
com.google.api.client.auth.oauth2.Credential.getRefreshListeners()
com.google.api.client.auth.oauth2.Credential.getRefreshToken()
com.google.api.client.auth.oauth2.Credential.getRequestInitializer()
com.google.api.client.auth.oauth2.Credential.getTokenServerEncodedUrl()
com.google.api.client.auth.oauth2.Credential.getTransport()
com.google.api.client.auth.oauth2.Credential.handleResponse(com.google.api.client.http.HttpRequest,com.google.api.client.http.HttpResponse,boolean)
com.google.api.client.auth.oauth2.Credential.initialize(com.google.api.client.http.HttpRequest)
com.google.api.client.auth.oauth2.Credential.intercept(com.google.api.client.http.HttpRequest)
com.google.api.client.auth.oauth2.Credential.refreshToken()
Constructors
AppEngineCredentialWrapper(HttpTransport transport, JsonFactory jsonFactory)
public AppEngineCredentialWrapper ( HttpTransport transport , JsonFactory jsonFactory )
Constructs the wrapper using the default AppIdentityService.
Parameters
Name
Description
transport
com.google.api.client.http.HttpTransport
the transport for Http calls.
jsonFactory
com.google.api.client.json.JsonFactory
the factory for Json parsing and formatting.
Methods
createScoped(Collection<String> scopes)
public GoogleCredential createScoped ( Collection<String> scopes )
Beta
For credentials that require scopes, creates a copy of the credential with the specified
scopes.
Overrides
createScopedRequired()
public boolean createScopedRequired ()
Beta
Indicates whether the credential requires scopes to be specified by calling createScoped before
use.
Overrides
executeRefreshToken()
protected TokenResponse executeRefreshToken ()
Returns
Type
Description
com.google.api.client.auth.oauth2.TokenResponse
Overrides
intercept(HttpRequest request)
public void intercept ( HttpRequest request )
Parameter
Name
Description
request
com.google.api.client.http.HttpRequest
Overrides
com.google.api.client.auth.oauth2.Credential.intercept(com.google.api.client.http.HttpRequest)
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-07-02 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-07-02 UTC."],[],[]]