Interface TwitterAuth
-
public interface TwitterAuth
Simplified factory to create anOAuth2Auth
for Twitter.- Author:
- Paulo Lopes
-
-
Method Summary
Static Methods Modifier and Type Method Description static OAuth2Auth
create(Vertx vertx, String clientId, String clientSecret)
Create a OAuth2Auth provider for Twitterstatic OAuth2Auth
create(Vertx vertx, String clientId, String clientSecret, HttpClientOptions httpClientOptions)
Create a OAuth2Auth provider for Twitter
-
-
-
Method Detail
-
create
static OAuth2Auth create(Vertx vertx, String clientId, String clientSecret)
Create a OAuth2Auth provider for Twitter- Parameters:
clientId
- the client id given to you by TwitterclientSecret
- the client secret given to you by Twitter
-
create
static OAuth2Auth create(Vertx vertx, String clientId, String clientSecret, HttpClientOptions httpClientOptions)
Create a OAuth2Auth provider for Twitter- Parameters:
clientId
- the client id given to you by TwitterclientSecret
- the client secret given to you by TwitterhttpClientOptions
- custom http client options
-
-