# Module: vertx-auth-oauth2-js/keycloak_auth

### Classes

KeycloakAuth

### Methods

#### (static) KeycloakAuth.create(vertx, flow, config, httpClientOptions) → {OAuth2Auth}

Create a OAuth2Auth provider for Keycloak

##### Parameters:

Name | Type | Description
--- | --- | ---
`vertx` | Vertx |
`flow` | Object | the oauth2 flow to use
`config` | Object | the json config file exported from Keycloak admin console
`httpClientOptions` | Object | custom http client options

Source:
  - vertx-auth-oauth2-js/keycloak_auth.js, line 71

##### Returns:

Type
  OAuth2Auth