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

# create

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

Create a OAuth2Auth provider for Keycloak

### Parameters

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

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

Create a OAuth2Auth provider for Keycloak

### Parameters

`flow` - the oauth2 flow to use

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

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

Create a OAuth2Auth provider for Keycloak

### Parameters

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

`httpClientOptions` - custom http client options

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

Create a OAuth2Auth provider for Keycloak

### Parameters

`flow` - the oauth2 flow to use

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

`httpClientOptions` - custom http client options