Package org.scribe.extractors
Class JsonTokenExtractor
- java.lang.Object
-
- org.scribe.extractors.JsonTokenExtractor
-
- All Implemented Interfaces:
AccessTokenExtractor
public class JsonTokenExtractor extends java.lang.Object implements AccessTokenExtractor
-
-
Constructor Summary
Constructors Constructor Description JsonTokenExtractor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Token
extract(java.lang.String response)
Extracts the access token from the contents of an Http Response
-
-
-
Method Detail
-
extract
public Token extract(java.lang.String response)
Description copied from interface:AccessTokenExtractor
Extracts the access token from the contents of an Http Response- Specified by:
extract
in interfaceAccessTokenExtractor
- Parameters:
response
- the contents of the response- Returns:
- OAuth access token
-
-