Send feedback
Class AppIdentityCredential.AppEngineCredentialWrapper (2.4.1)
Stay organized with collections
Save and categorize content based on your preferences.
Version 2.4.1 keyboard_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)
Send feedback
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 2024-12-19 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-12-19 UTC."],[],[]]