class JwtAuthHelper : SwaggerAuthHandler
Verifies authentication according to information specified in the swagger doc.
<init> |
Verifies authentication according to information specified in the swagger doc. JwtAuthHelper(config: JsonObject, vertx: Vertx) |
EXPIRATION_MILLIS |
val EXPIRATION_MILLIS: Int |
authenticateUserRoles |
fun authenticateUserRoles(requiredRoles: Roles, userRoles: JsonArray): Unit |
createAuthHandlers |
fun createAuthHandlers(roles: Roles): RouteHandlers |
generateToken |
fun generateToken(json: JsonObject): String |
isTokenExpired |
fun isTokenExpired(created: Long): Boolean |