public class CloudShellCredentials extends GoogleCredentials
| Modifier and Type | Field and Description |
|---|---|
protected static 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 |
|---|
CloudShellCredentials(int authPort) |
| Modifier and Type | Method and Description |
|---|---|
protected int |
getAuthPort() |
AccessToken |
refreshAccessToken()
Abstract method to refresh the access token according to the specific type of credentials.
|
createScoped, createScopedRequired, fromStream, fromStream, getApplicationDefault, getApplicationDefaultgetAuthenticationType, getRequestMetadata, hasRequestMetadata, hasRequestMetadataOnly, refreshgetRequestMetadataprotected static final String GET_AUTH_TOKEN_REQUEST
protected int getAuthPort()
public AccessToken refreshAccessToken() throws IOException
OAuth2CredentialsrefreshAccessToken in class OAuth2CredentialsIOExceptionCopyright © 2015 Google. All rights reserved.