public class TwitterOAuthApi extends DefaultOAuthApi10a
Modifier and Type | Class and Description |
---|---|
static class |
TwitterOAuthApi.Authenticate
Twitter 'friendlier' authorization endpoint for OAuth.
|
static class |
TwitterOAuthApi.Authorize
Just an alias to the default (SSL) authorization endpoint.
|
static class |
TwitterOAuthApi.SSL |
Constructor and Description |
---|
TwitterOAuthApi() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getAccessTokenEndpoint()
Returns the URL that receives the access token requests.
|
java.lang.String |
getAuthorizationUrl(Token requestToken)
Returns the URL where you should redirect your users to authenticate your application.
|
java.lang.String |
getRequestTokenEndpoint()
Returns the URL that receives the request token requests.
|
createService, getAccessTokenExtractor, getAccessTokenVerb, getBaseStringExtractor, getHeaderExtractor, getRequestTokenExtractor, getRequestTokenVerb, getSignatureService, getTimestampService
public java.lang.String getAccessTokenEndpoint()
DefaultOAuthApi10a
getAccessTokenEndpoint
in class DefaultOAuthApi10a
public java.lang.String getRequestTokenEndpoint()
DefaultOAuthApi10a
getRequestTokenEndpoint
in class DefaultOAuthApi10a
public java.lang.String getAuthorizationUrl(Token requestToken)
DefaultOAuthApi10a
getAuthorizationUrl
in class DefaultOAuthApi10a
requestToken
- the request token you need to authorize