@Deprecated public class CloudShellCredential extends GoogleCredential
GoogleCredential.Builder
Credential.AccessMethod
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,
JsonFactory jsonFactory)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
protected 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, toBuilder
getAccessToken, getClientAuthentication, getClock, getExpirationTimeMilliseconds, getExpiresInSeconds, getJsonFactory, getMethod, getRefreshListeners, getRefreshToken, getRequestInitializer, getTokenServerEncodedUrl, getTransport, handleResponse, initialize, intercept, refreshToken
protected static final String GET_AUTH_TOKEN_REQUEST
public CloudShellCredential(int authPort, JsonFactory jsonFactory)
protected int getAuthPort()
protected TokenResponse executeRefreshToken() throws IOException
executeRefreshToken
in class GoogleCredential
IOException
Copyright © 2010–2020 Google. All rights reserved.