@Deprecated public class CloudShellCredential extends GoogleCredential
GoogleCredential.Builder| Modifier and Type | Field and Description |
|---|---|
protected static String |
GET_AUTH_TOKEN_REQUEST
Deprecated.
The Cloud Shell back authorization channel uses serialized Javascript Protobufers, preceeded by
the message lengeth and a new line character.
|
| Constructor and Description |
|---|
CloudShellCredential(int authPort,
com.google.api.client.json.JsonFactory jsonFactory)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
protected com.google.api.client.auth.oauth2.TokenResponse |
executeRefreshToken()
Deprecated.
|
protected int |
getAuthPort()
Deprecated.
|
createDelegated, createScoped, createScopedRequired, fromStream, fromStream, getApplicationDefault, getApplicationDefault, getServiceAccountId, getServiceAccountPrivateKey, getServiceAccountPrivateKeyId, getServiceAccountProjectId, getServiceAccountScopes, getServiceAccountScopesAsString, getServiceAccountUser, setAccessToken, setExpirationTimeMilliseconds, setExpiresInSeconds, setFromTokenResponse, setRefreshToken, toBuildergetAccessToken, getClientAuthentication, getClock, getExpirationTimeMilliseconds, getExpiresInSeconds, getJsonFactory, getMethod, getRefreshListeners, getRefreshToken, getRequestInitializer, getTokenServerEncodedUrl, getTransport, handleResponse, initialize, intercept, refreshTokenprotected static final String GET_AUTH_TOKEN_REQUEST
public CloudShellCredential(int authPort,
com.google.api.client.json.JsonFactory jsonFactory)
protected int getAuthPort()
protected com.google.api.client.auth.oauth2.TokenResponse executeRefreshToken()
throws IOException
executeRefreshToken in class GoogleCredentialIOExceptionCopyright © 2010–2023 Google. All rights reserved.