Package com.github.scribejava.apis
Class ImgurApi
java.lang.Object
com.github.scribejava.core.builder.api.DefaultApi20
com.github.scribejava.apis.ImgurApi
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreateService
(String apiKey, String apiSecret, String callback, String defaultScope, String responseType, OutputStream debugStream, String userAgent, HttpClientConfig httpClientConfig, HttpClient httpClient) protected String
getAuthorizationUrl
(String responseType, String apiKey, String callback, String scope, String state, Map<String, String> additionalParams) static ImgurApi
instance()
static boolean
Methods inherited from class com.github.scribejava.core.builder.api.DefaultApi20
getAccessTokenExtractor, getAccessTokenVerb, getBearerSignature, getClientAuthentication, getDeviceAuthorizationEndpoint, getDeviceAuthorizationExtractor, getRefreshTokenEndpoint, getRevokeTokenEndpoint
-
Constructor Details
-
ImgurApi
protected ImgurApi()
-
-
Method Details
-
instance
-
getAccessTokenEndpoint
- Specified by:
getAccessTokenEndpoint
in classDefaultApi20
-
getAuthorizationUrl
public String getAuthorizationUrl(String responseType, String apiKey, String callback, String scope, String state, Map<String, String> additionalParams) - Overrides:
getAuthorizationUrl
in classDefaultApi20
-
getAuthorizationBaseUrl
- Specified by:
getAuthorizationBaseUrl
in classDefaultApi20
-
createService
public ImgurOAuthService createService(String apiKey, String apiSecret, String callback, String defaultScope, String responseType, OutputStream debugStream, String userAgent, HttpClientConfig httpClientConfig, HttpClient httpClient) - Overrides:
createService
in classDefaultApi20
-
isOob
-