public class JWTAuthHelper
public static io.zeko.restapi.core.security.JWTAuthHelper.Companion Companion
public JWTAuthHelper(@NotNull
io.vertx.ext.auth.jwt.JWTAuth jwtAuth,
@Nullable
io.vertx.ext.auth.jwt.JWTAuth jwtAuthRefresh,
boolean useCamelCase)
@NotNull public io.vertx.core.json.JsonObject getExpireMsg()
@NotNull public io.vertx.core.json.JsonObject getInvalidMsg()
public void refreshToken(@NotNull
java.lang.String refreshToken,
@NotNull
java.lang.String accessToken,
int tokenExpireSeconds,
int refreshExpireSeconds,
boolean refreshAfterExpired,
@NotNull
kotlin.jvm.functions.Function2<? super io.vertx.ext.auth.User,? super io.vertx.core.json.JsonObject,kotlin.Unit> authHandler)
public void validateToken(@Nullable
java.lang.String authHeader,
@NotNull
kotlin.jvm.functions.Function2<? super io.vertx.ext.auth.User,? super io.vertx.core.json.JsonObject,kotlin.Unit> authHandler)
@NotNull
public java.util.Map<java.lang.String,java.lang.String> generateAuthTokens(@NotNull
io.vertx.core.json.JsonObject jwtAuthData,
int tokenExpireSeconds,
int refreshExpireSeconds)
@NotNull
protected java.lang.String getJsonKey(@NotNull
java.lang.String key)
@NotNull public io.vertx.ext.auth.jwt.JWTAuth getJwtAuth()
@Nullable public io.vertx.ext.auth.jwt.JWTAuth getJwtAuthRefresh()
public boolean getUseCamelCase()
@JvmStatic
public static io.vertx.ext.auth.jwt.JWTAuth createJWTAuth(@NotNull
io.vertx.core.Vertx vertx,
@NotNull
io.vertx.ext.auth.jwt.JWTAuthOptions jwtOptions)