public class FitBitJsonTokenExtractor extends OAuth2AccessTokenJsonExtractor
| Modifier | Constructor and Description |
|---|---|
protected |
FitBitJsonTokenExtractor() |
| Modifier and Type | Method and Description |
|---|---|
protected FitBitOAuth2AccessToken |
createToken(String accessToken,
String tokenType,
Integer expiresIn,
String refreshToken,
String scope,
String response) |
void |
generateError(String response)
Related documentation: https://dev.fitbit.com/build/reference/web-api/oauth2/
|
static FitBitJsonTokenExtractor |
instance() |
extract, extractParameterpublic static FitBitJsonTokenExtractor instance()
protected FitBitOAuth2AccessToken createToken(String accessToken, String tokenType, Integer expiresIn, String refreshToken, String scope, String response)
createToken in class OAuth2AccessTokenJsonExtractorpublic void generateError(String response)
generateError in class OAuth2AccessTokenJsonExtractorCopyright © 2018. All rights reserved.