Package org.scribe.extractors
Class TokenExtractorImpl
java.lang.Object
org.scribe.extractors.TokenExtractorImpl
- All Implemented Interfaces:
AccessTokenExtractor,RequestTokenExtractor
public class TokenExtractorImpl
extends Object
implements RequestTokenExtractor, AccessTokenExtractor
Default implementation of and . Conforms to OAuth 1.0a
The process for extracting access and request tokens is similar so this class can do both things.
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
TokenExtractorImpl
public TokenExtractorImpl()
-
-
Method Details
-
extract
Extracts the request token from the contents of an Http Response- Specified by:
extractin interfaceAccessTokenExtractor- Specified by:
extractin interfaceRequestTokenExtractor- Parameters:
response- the contents of the response- Returns:
- OAuth access token
-