Package com.github.scribejava.apis
Class StackExchangeApi
java.lang.Object
com.github.scribejava.core.builder.api.DefaultApi20
com.github.scribejava.apis.StackExchangeApi
public class StackExchangeApi extends DefaultApi20
Stack Exchange authentication via OAuth 2.0 (stackoverflow.com,
askubuntu.com, etc.).
-
Constructor Summary
Constructors Modifier Constructor Description protected
StackExchangeApi()
-
Method Summary
Modifier and Type Method Description java.lang.String
getAccessTokenEndpoint()
TokenExtractor<OAuth2AccessToken>
getAccessTokenExtractor()
protected java.lang.String
getAuthorizationBaseUrl()
BearerSignature
getBearerSignature()
static StackExchangeApi
instance()
Methods inherited from class com.github.scribejava.core.builder.api.DefaultApi20
createService, getAccessTokenVerb, getAuthorizationUrl, getClientAuthentication, getRefreshTokenEndpoint, getRevokeTokenEndpoint
-
Constructor Details
-
StackExchangeApi
protected StackExchangeApi()
-
-
Method Details
-
instance
-
getAccessTokenEndpoint
public java.lang.String getAccessTokenEndpoint()- Specified by:
getAccessTokenEndpoint
in classDefaultApi20
-
getAuthorizationBaseUrl
protected java.lang.String getAuthorizationBaseUrl()- Specified by:
getAuthorizationBaseUrl
in classDefaultApi20
-
getAccessTokenExtractor
- Overrides:
getAccessTokenExtractor
in classDefaultApi20
-
getBearerSignature
- Overrides:
getBearerSignature
in classDefaultApi20
-