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
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
VKJsonTokenExtractor()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected VKOAuth2AccessToken
createToken(String accessToken, String tokenType, Integer expiresIn, String refreshToken, String scope, String response)
static VKJsonTokenExtractor
instance()
-
Methods inherited from class com.github.scribejava.core.extractors.OAuth2AccessTokenJsonExtractor
extract, extractParameter, generateError
-
-
-
-
Method Detail
-
instance
public static VKJsonTokenExtractor instance()
-
createToken
protected VKOAuth2AccessToken createToken(String accessToken, String tokenType, Integer expiresIn, String refreshToken, String scope, String response)
- Overrides:
createToken
in classOAuth2AccessTokenJsonExtractor
-
-