public static class SignpostAdapters.OAuthProvider extends AbstractOAuthProvider
| Constructor and Description |
|---|
OAuthProvider(java.lang.String requestTokenEndpointUrl,
java.lang.String accessTokenEndpointUrl,
java.lang.String authorizationWebsiteUrl)
Constructs a new
OAuthProvider. |
| Modifier and Type | Method and Description |
|---|---|
protected void |
closeConnection(oauth.signpost.http.HttpRequest request,
oauth.signpost.http.HttpResponse response) |
protected SignpostAdapters.HttpRequest |
createRequest(java.lang.String endpointUrl) |
protected SignpostAdapters.HttpResponse |
sendRequest(oauth.signpost.http.HttpRequest request) |
public OAuthProvider(java.lang.String requestTokenEndpointUrl, java.lang.String accessTokenEndpointUrl, java.lang.String authorizationWebsiteUrl)
OAuthProvider.requestTokenEndpointUrl - request token endpoint URLaccessTokenEndpointUrl - access token endpoint URLauthorizationWebsiteUrl - authorization website URLprotected SignpostAdapters.HttpRequest createRequest(java.lang.String endpointUrl) throws java.lang.Exception
java.lang.Exceptionprotected SignpostAdapters.HttpResponse sendRequest(oauth.signpost.http.HttpRequest request) throws java.lang.Exception
java.lang.Exceptionprotected void closeConnection(oauth.signpost.http.HttpRequest request, oauth.signpost.http.HttpResponse response) throws java.lang.Exception
java.lang.Exception