Class OAuth2
- java.lang.Object
-
- io.apiman.gateway.engine.vertx.polling.fetchers.auth.AbstractOAuth2Base
-
- io.apiman.gateway.engine.vertx.polling.fetchers.auth.OAuth2
-
- All Implemented Interfaces:
Authenticator
public class OAuth2 extends AbstractOAuth2Base implements Authenticator
- Author:
- Marc Savy <marc@rhymewithgravy.com>
-
-
Constructor Summary
Constructors Constructor Description OAuth2()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Authenticatorauthenticate(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.AuthenticatorvalidateConfig(Map<String,String> config)Validate config.-
Methods inherited from class io.apiman.gateway.engine.vertx.polling.fetchers.auth.AbstractOAuth2Base
createOrDescend, getFlowType, mapToJson
-
-
-
-
Method Detail
-
validateConfig
public Authenticator validateConfig(Map<String,String> config)
Description copied from interface:AuthenticatorValidate config.- Specified by:
validateConfigin interfaceAuthenticator- Returns:
- fluent
-
authenticate
public 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)
Description copied from interface:AuthenticatorAuthenticate the call.- Specified by:
authenticatein interfaceAuthenticatorheaderMap- header(s) may be set by the authenticator.resultHandler- invoked with result of the authentication.- Returns:
- fluent
-
-