Package com.github.scribejava.apis.vk
Class VKJsonTokenExtractor
- java.lang.Object
-
- com.github.scribejava.core.extractors.OAuth2AccessTokenJsonExtractor
-
- com.github.scribejava.apis.vk.VKJsonTokenExtractor
-
- All Implemented Interfaces:
TokenExtractor<OAuth2AccessToken>
public class VKJsonTokenExtractor extends OAuth2AccessTokenJsonExtractor
additionally parses email
-
-
Field Summary
-
Fields inherited from class com.github.scribejava.core.extractors.OAuth2AccessTokenJsonExtractor
OBJECT_MAPPER
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
VKJsonTokenExtractor()
-
Method Summary
Modifier and Type Method Description protected VKOAuth2AccessToken
createToken(String accessToken, String tokenType, Integer expiresIn, String refreshToken, String scope, com.fasterxml.jackson.databind.JsonNode response, String rawResponse)
static VKJsonTokenExtractor
instance()
-
Methods inherited from class com.github.scribejava.core.extractors.OAuth2AccessTokenJsonExtractor
extract, extractRequiredParameter, generateError
-
-
-
-
Method Detail
-
instance
public static VKJsonTokenExtractor instance()
-
createToken
protected VKOAuth2AccessToken createToken(String accessToken, String tokenType, Integer expiresIn, String refreshToken, String scope, com.fasterxml.jackson.databind.JsonNode response, String rawResponse)
- Overrides:
createToken
in classOAuth2AccessTokenJsonExtractor
-
-