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, extractParameter
public static FitBitJsonTokenExtractor instance()
protected FitBitOAuth2AccessToken createToken(String accessToken, String tokenType, Integer expiresIn, String refreshToken, String scope, String response)
createToken
in class OAuth2AccessTokenJsonExtractor
public void generateError(String response)
generateError
in class OAuth2AccessTokenJsonExtractor
Copyright © 2018. All rights reserved.