TokenResponse.Builder |
TokenResponse.Builder.fromResponseJson(JSONObject json) |
Extracts token response fields from a JSON object.
|
TokenResponse.Builder |
TokenResponse.Builder.fromResponseJsonString(String jsonStr) |
Extracts token response fields from a JSON string.
|
TokenResponse.Builder |
TokenResponse.Builder.setAccessToken(String accessToken) |
Specifies the access token.
|
TokenResponse.Builder |
TokenResponse.Builder.setAccessTokenExpirationTime(Long expiresAt) |
Sets the exact expiration time of the access token, in milliseconds since the UNIX epoch.
|
TokenResponse.Builder |
TokenResponse.Builder.setAccessTokenExpiresIn(Long expiresIn) |
Sets the relative expiration time of the access token, in seconds, using the default
system clock as the source of the current time.
|
TokenResponse.Builder |
TokenResponse.Builder.setAdditionalParameters(Map<String,String> additionalParameters) |
Specifies the additional, non-standard parameters received as part of the response.
|
TokenResponse.Builder |
TokenResponse.Builder.setIdToken(String idToken) |
Specifies the ID token.
|
TokenResponse.Builder |
TokenResponse.Builder.setRefreshToken(String refreshToken) |
Specifies the refresh token.
|
TokenResponse.Builder |
TokenResponse.Builder.setRequest(TokenRequest request) |
Specifies the request associated with this response.
|
TokenResponse.Builder |
TokenResponse.Builder.setScope(String scope) |
Specifies the encoded scope string, which is a space-delimited set of
case-sensitive scope identifiers.
|
TokenResponse.Builder |
TokenResponse.Builder.setScopes(Iterable<String> scopes) |
Specifies the set of case-sensitive scopes.
|
TokenResponse.Builder |
TokenResponse.Builder.setScopes(String... scopes) |
Specifies the set of case-sensitive scopes.
|
TokenResponse.Builder |
TokenResponse.Builder.setTokenType(String tokenType) |
Specifies the token type of the access token in this response.
|