oauthP5.oauth
Class JsonTokenExtractor

java.lang.Object
  extended by oauthP5.oauth.JsonTokenExtractor
All Implemented Interfaces:
AccessTokenExtractor

public class JsonTokenExtractor
extends Object
implements AccessTokenExtractor


Constructor Summary
JsonTokenExtractor()
           
 
Method Summary
 Token extract(String response)
          Extracts the access token from the contents of an Http Response
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JsonTokenExtractor

public JsonTokenExtractor()
Method Detail

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