Package org.scribe.extractors
Class TokenExtractor20Impl
- java.lang.Object
-
- org.scribe.extractors.TokenExtractor20Impl
-
- All Implemented Interfaces:
AccessTokenExtractor
public class TokenExtractor20Impl extends java.lang.Object implements AccessTokenExtractor
Default implementation of . Conforms to OAuth 2.0
-
-
Constructor Summary
Constructors Constructor Description TokenExtractor20Impl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Token
extract(java.lang.String response)
Extracts the access token from the contents of an Http Response
-
-
-
Method Detail
-
extract
public Token extract(java.lang.String response)
Extracts the access token from the contents of an Http Response- Specified by:
extract
in interfaceAccessTokenExtractor
- Parameters:
response
- the contents of the response- Returns:
- OAuth access token
-
-