Interface FoursquareAuth


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

      • create

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

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