Interface GithubAuth


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

    • create

      static OAuth2Auth create(Vertx vertx, String clientId, String clientSecret)
      Create a OAuth2Auth provider for Github
      Parameters:
      clientId - the client id given to you by Github
      clientSecret - the client secret given to you by Github
    • create

      static OAuth2Auth create(Vertx vertx, String clientId, String clientSecret, HttpClientOptions httpClientOptions)
      Create a OAuth2Auth provider for Github
      Parameters:
      clientId - the client id given to you by Github
      clientSecret - the client secret given to you by Github
      httpClientOptions - custom http client options