Class DeviceAuthorizationJsonExtractor
- java.lang.Object
-
- com.github.scribejava.core.extractors.AbstractJsonExtractor
-
- com.github.scribejava.core.extractors.DeviceAuthorizationJsonExtractor
-
- Direct Known Subclasses:
GoogleDeviceAuthorizationJsonExtractor
public class DeviceAuthorizationJsonExtractor extends AbstractJsonExtractor
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description private static classDeviceAuthorizationJsonExtractor.InstanceHolder
-
Field Summary
-
Fields inherited from class com.github.scribejava.core.extractors.AbstractJsonExtractor
OBJECT_MAPPER
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedDeviceAuthorizationJsonExtractor()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description private DeviceAuthorizationcreateDeviceAuthorization(java.lang.String rawResponse)DeviceAuthorizationextract(Response response)voidgenerateError(Response response)protected java.lang.StringgetVerificationUriParamName()static DeviceAuthorizationJsonExtractorinstance()-
Methods inherited from class com.github.scribejava.core.extractors.AbstractJsonExtractor
extractRequiredParameter
-
-
-
-
Method Detail
-
instance
public static DeviceAuthorizationJsonExtractor instance()
-
extract
public DeviceAuthorization extract(Response response) throws java.io.IOException
- Throws:
java.io.IOException
-
generateError
public void generateError(Response response) throws java.io.IOException
- Throws:
java.io.IOException
-
createDeviceAuthorization
private DeviceAuthorization createDeviceAuthorization(java.lang.String rawResponse) throws java.io.IOException
- Throws:
java.io.IOException
-
getVerificationUriParamName
protected java.lang.String getVerificationUriParamName()
-
-