public class CloudShellCredential extends GoogleCredential
GoogleCredential.Builder| Modifier and Type | Field and Description |
|---|---|
protected static java.lang.String |
GET_AUTH_TOKEN_REQUEST
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) |
| Modifier and Type | Method and Description |
|---|---|
protected com.google.api.client.auth.oauth2.TokenResponse |
executeRefreshToken() |
protected int |
getAuthPort() |
createScoped, createScopedRequired, fromStream, fromStream, getApplicationDefault, getApplicationDefault, getServiceAccountId, getServiceAccountPrivateKey, getServiceAccountPrivateKeyId, getServiceAccountProjectId, getServiceAccountScopes, getServiceAccountScopesAsString, getServiceAccountUser, setAccessToken, setExpirationTimeMilliseconds, setExpiresInSeconds, setFromTokenResponse, setRefreshTokengetAccessToken, getClientAuthentication, getClock, getExpirationTimeMilliseconds, getExpiresInSeconds, getJsonFactory, getMethod, getRefreshListeners, getRefreshToken, getRequestInitializer, getTokenServerEncodedUrl, getTransport, handleResponse, initialize, intercept, refreshTokenprotected static final java.lang.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 java.io.IOException
executeRefreshToken in class GoogleCredentialjava.io.IOExceptionCopyright © 2010-2019 Google. All Rights Reserved.