oauthP5.oauth
Interface AccessTokenExtractor

All Known Implementing Classes:
JsonTokenExtractor, TokenExtractor20Impl, TokenExtractorImpl

public interface AccessTokenExtractor

Simple command object that extracts a Token from a String

Author:
Pablo Fernandez

Method Summary
 Token extract(String response)
          Extracts the access token from the contents of an Http Response
 

Method Detail

extract

Token extract(String response)
Extracts the access token from the contents of an Http Response

Parameters:
response - the contents of the response
Returns:
OAuth access token


Processing library oauthP5 by New York Times R&D Lab. (c) 2012