public interface JwtAuth
extends io.vertx.ext.auth.AuthProvider
| Modifier and Type | Method and Description |
|---|---|
static JwtAuth |
create(io.vertx.core.Vertx vertx,
io.vertx.ext.auth.jwt.JWTAuthOptions config,
Function<io.vertx.core.json.JsonObject,io.vertx.core.Future<Boolean>> fnVerify) |
default String |
generateToken(io.vertx.core.json.JsonObject claims) |
String |
generateToken(io.vertx.core.json.JsonObject data,
io.vertx.ext.jwt.JWTOptions options) |
static JwtAuth create(io.vertx.core.Vertx vertx, io.vertx.ext.auth.jwt.JWTAuthOptions config, Function<io.vertx.core.json.JsonObject,io.vertx.core.Future<Boolean>> fnVerify)
String generateToken(io.vertx.core.json.JsonObject data, io.vertx.ext.jwt.JWTOptions options)
default String generateToken(io.vertx.core.json.JsonObject claims)
Copyright © 2018. All rights reserved.