public class KeycloakOAuth2 extends AbstractOAuth2Base implements Authenticator
OAuth2FlowType| Constructor and Description |
|---|
KeycloakOAuth2() |
| Modifier and Type | Method and Description |
|---|---|
Authenticator |
authenticate(io.vertx.core.Vertx vertx,
Map<String,String> config,
io.vertx.core.MultiMap headerMap,
io.vertx.core.Handler<io.vertx.core.AsyncResult<Void>> resultHandler)
Authenticate the call.
|
Authenticator |
validateConfig(Map<String,String> config)
Validate config.
|
createOrDescend, getFlowType, mapToJsonpublic Authenticator validateConfig(Map<String,String> config)
AuthenticatorvalidateConfig in interface Authenticatorpublic Authenticator authenticate(io.vertx.core.Vertx vertx, Map<String,String> config, io.vertx.core.MultiMap headerMap, io.vertx.core.Handler<io.vertx.core.AsyncResult<Void>> resultHandler)
Authenticatorauthenticate in interface AuthenticatorheaderMap - header(s) may be set by the authenticator.resultHandler - invoked with result of the authentication.Copyright © 2018 JBoss, a division of Red Hat. All rights reserved.