Simplified factory to create an for Foursquare.
package |
Default |
---|
__construct()
create( $arg0, $arg1, $arg2, $arg3 = null) : \io\vertx\jphp\ext\auth\oauth2\OAuth2Auth
param $vertx [Vertx] param $clientId [string] the client id given to you by Foursquare param $clientSecret [string] the client secret given to you by Foursquare create($vertx, $clientId, $clientSecret)
Create a OAuth2Auth provider for Foursquare
param $vertx [Vertx] param $clientId [string] the client id given to you by Foursquare param $clientSecret [string] the client secret given to you by Foursquare param $httpClientOptions [HttpClientOptions | array] custom http client options create($vertx, $clientId, $clientSecret, $httpClientOptions)
Vertx
string
string
array | HttpClientOptions
\io\vertx\jphp\ext\auth\oauth2\OAuth2Auth