Package org.scribe.builder.api
Class TwitterApi.Authenticate
- java.lang.Object
-
- org.scribe.builder.api.DefaultApi10a
-
- org.scribe.builder.api.TwitterApi
-
- org.scribe.builder.api.TwitterApi.SSL
-
- org.scribe.builder.api.TwitterApi.Authenticate
-
- All Implemented Interfaces:
Api
- Enclosing class:
- TwitterApi
public static class TwitterApi.Authenticate extends TwitterApi.SSL
Twitter 'friendlier' authorization endpoint for OAuth. Uses SSL.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.scribe.builder.api.TwitterApi
TwitterApi.Authenticate, TwitterApi.Authorize, TwitterApi.SSL
-
-
Constructor Summary
Constructors Constructor Description Authenticate()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getAuthorizationUrl(Token requestToken)
Returns the URL where you should redirect your users to authenticate your application.-
Methods inherited from class org.scribe.builder.api.TwitterApi.SSL
getAccessTokenEndpoint, getRequestTokenEndpoint
-
Methods inherited from class org.scribe.builder.api.DefaultApi10a
createService, getAccessTokenExtractor, getAccessTokenVerb, getBaseStringExtractor, getHeaderExtractor, getRequestTokenExtractor, getRequestTokenVerb, getSignatureService, getTimestampService
-
-
-
-
Method Detail
-
getAuthorizationUrl
public java.lang.String getAuthorizationUrl(Token requestToken)
Description copied from class:DefaultApi10a
Returns the URL where you should redirect your users to authenticate your application.- Overrides:
getAuthorizationUrl
in classTwitterApi
- Parameters:
requestToken
- the request token you need to authorize- Returns:
- the URL where you should redirect your users
-
-