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 protectedStackExchangeApi()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetAccessTokenEndpoint()TokenExtractor<OAuth2AccessToken>getAccessTokenExtractor()protected StringgetAuthorizationBaseUrl()BearerSignaturegetBearerSignature()static StackExchangeApiinstance()-
Methods inherited from class com.github.scribejava.core.builder.api.DefaultApi20
createService, getAccessTokenVerb, getAuthorizationUrl, getClientAuthentication, getRefreshTokenEndpoint, getRevokeTokenEndpoint
-
-
-
-
Method Detail
-
instance
public static StackExchangeApi instance()
-
getAccessTokenEndpoint
public String getAccessTokenEndpoint()
- Specified by:
getAccessTokenEndpointin classDefaultApi20
-
getAuthorizationBaseUrl
protected String getAuthorizationBaseUrl()
- Specified by:
getAuthorizationBaseUrlin classDefaultApi20
-
getAccessTokenExtractor
public TokenExtractor<OAuth2AccessToken> getAccessTokenExtractor()
- Overrides:
getAccessTokenExtractorin classDefaultApi20
-
getBearerSignature
public BearerSignature getBearerSignature()
- Overrides:
getBearerSignaturein classDefaultApi20
-
-