Simplified factory to create an for Github.
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 Github param $clientSecret [string] the client secret given to you by Github create($vertx, $clientId, $clientSecret)
Create a OAuth2Auth provider for Github
param $vertx [Vertx] param $clientId [string] the client id given to you by Github param $clientSecret [string] the client secret given to you by Github 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