vertx / io.vertx.reactivex.ext.auth.oauth2.providers / KeycloakAuth / create

# create

`open static fun create(vertx: Vertx, config: JsonObject): OAuth2Auth`

Create a OAuth2Auth provider for Keycloak

### Parameters

`vertx` -

`config` - the json config file exported from Keycloak admin console

Return

`open static fun create(vertx: Vertx, flow: OAuth2FlowType, config: JsonObject): OAuth2Auth`

Create a OAuth2Auth provider for Keycloak

### Parameters

`vertx` -

`flow` - the oauth2 flow to use

`config` - the json config file exported from Keycloak admin console

Return

`open static fun create(vertx: Vertx, config: JsonObject, httpClientOptions: HttpClientOptions): OAuth2Auth`

Create a OAuth2Auth provider for Keycloak

### Parameters

`vertx` -

`config` - the json config file exported from Keycloak admin console

`httpClientOptions` - custom http client options

Return

`open static fun create(vertx: Vertx, flow: OAuth2FlowType, config: JsonObject, httpClientOptions: HttpClientOptions): OAuth2Auth`

Create a OAuth2Auth provider for Keycloak

### Parameters

`vertx` -

`flow` - the oauth2 flow to use

`config` - the json config file exported from Keycloak admin console

`httpClientOptions` - custom http client options

Return