FacebookAuth

Simplified factory to create an for Facebook.

package

Default

Methods

__construct

__construct() 

Create a OAuth2Auth provider for Facebook

create( $arg0,  $arg1,  $arg2,  $arg3 = null) : \io\vertx\jphp\ext\auth\oauth2\OAuth2Auth
static

param $vertx [Vertx] param $clientId [string] the client id given to you by Facebook param $clientSecret [string] the client secret given to you by Facebook create($vertx, $clientId, $clientSecret)

Create a OAuth2Auth provider for Facebook

param $vertx [Vertx] param $clientId [string] the client id given to you by Facebook param $clientSecret [string] the client secret given to you by Facebook param $httpClientOptions [HttpClientOptions | array] custom http client options create($vertx, $clientId, $clientSecret, $httpClientOptions)

Arguments

$arg0

Vertx

$arg1

string

$arg2

string

$arg3

array | HttpClientOptions

Response

\io\vertx\jphp\ext\auth\oauth2\OAuth2Auth