oauthP5.oauth
Class JsonTokenExtractor
java.lang.Object
oauthP5.oauth.JsonTokenExtractor
- All Implemented Interfaces:
- AccessTokenExtractor
public class JsonTokenExtractor
- extends Object
- implements AccessTokenExtractor
Method Summary |
Token |
extract(String response)
Extracts the access token from the contents of an Http Response |
JsonTokenExtractor
public JsonTokenExtractor()
extract
public Token extract(String response)
- Description copied from interface:
AccessTokenExtractor
- Extracts the access token from the contents of an Http Response
- Specified by:
extract
in interface AccessTokenExtractor
- Parameters:
response
- the contents of the response
- Returns:
- OAuth access token
Processing library oauthP5 by New York Times R&D Lab. (c) 2012