Interface TwitterAuth


public interface TwitterAuth
Simplified factory to create an OAuth2Auth for Twitter.
Author:
Paulo Lopes
  • Method Details

    • 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 Twitter
      clientSecret - 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 Twitter
      clientSecret - the client secret given to you by Twitter
      httpClientOptions - custom http client options