oauthP5.oauth
Class TokenExtractor20Impl

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

public class TokenExtractor20Impl
extends Object
implements AccessTokenExtractor

Default implementation of . Conforms to OAuth 2.0


Constructor Summary
TokenExtractor20Impl()
           
 
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

TokenExtractor20Impl

public TokenExtractor20Impl()
Method Detail

extract

public Token extract(String response)
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