Package com.github.scribejava.apis.vk
Class VKJsonTokenExtractor
java.lang.Object
com.github.scribejava.core.extractors.AbstractJsonExtractor
com.github.scribejava.core.extractors.OAuth2AccessTokenJsonExtractor
com.github.scribejava.apis.vk.VKJsonTokenExtractor
- All Implemented Interfaces:
TokenExtractor<OAuth2AccessToken>
additionally parses email
-
Field Summary
Fields inherited from class com.github.scribejava.core.extractors.AbstractJsonExtractor
OBJECT_MAPPER
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected 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, generateError
Methods inherited from class com.github.scribejava.core.extractors.AbstractJsonExtractor
extractRequiredParameter
-
Constructor Details
-
VKJsonTokenExtractor
protected VKJsonTokenExtractor()
-
-
Method Details
-
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
-