Interface FacebookAuth


  • public interface FacebookAuth
    Simplified factory to create an OAuth2Auth for Facebook.
    Author:
    Paulo Lopes
    • Method Detail

      • create

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

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