Package | Description |
---|---|
com.google.api.client.auth.oauth2 |
Modifier and Type | Method and Description |
---|---|
TokenResponse |
TokenResponse.clone() |
TokenResponse |
TokenResponse.set(String fieldName,
Object value) |
TokenResponse |
TokenResponse.setAccessToken(String accessToken)
Sets the access token issued by the authorization server.
|
TokenResponse |
TokenResponse.setExpiresInSeconds(Long expiresInSeconds)
Sets the lifetime of the access token
|
TokenResponse |
TokenResponse.setRefreshToken(String refreshToken)
Sets the refresh token which can be used to obtain new access tokens using the same
authorization grant or
null for none. |
TokenResponse |
TokenResponse.setScope(String scope)
Sets the scope of the access token or
null for none. |
TokenResponse |
TokenResponse.setTokenType(String tokenType)
Sets the token type (as specified in Access Token Types).
|
Copyright © 2016–2019. All rights reserved.