| Constructor and Description |
|---|
JwtAuthProvider(io.vertx.core.Vertx vertx,
io.vertx.ext.auth.jwt.JWTAuthOptions config) |
| Modifier and Type | Method and Description |
|---|---|
void |
authenticate(io.vertx.core.json.JsonObject authInfo,
io.vertx.core.Handler<io.vertx.core.AsyncResult<io.vertx.ext.auth.User>> resultHandler) |
JwtAuth |
bind(Supplier<Security> supplier) |
String |
generateToken(io.vertx.core.json.JsonObject claims,
io.vertx.ext.jwt.JWTOptions options) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcreate, generateTokenpublic JwtAuthProvider(io.vertx.core.Vertx vertx,
io.vertx.ext.auth.jwt.JWTAuthOptions config)
public void authenticate(io.vertx.core.json.JsonObject authInfo,
io.vertx.core.Handler<io.vertx.core.AsyncResult<io.vertx.ext.auth.User>> resultHandler)
authenticate in interface io.vertx.ext.auth.AuthProviderpublic String generateToken(io.vertx.core.json.JsonObject claims, io.vertx.ext.jwt.JWTOptions options)
generateToken in interface JwtAuthCopyright © 2019. All rights reserved.