vertx / io.vertx.rxjava.ext.auth.jwt / JWTAuth

JWTAuth

open class JWTAuth : AuthProvider

Factory interface for creating JWT based io.vertx.rxjava.ext.auth.AuthProvider instances. NOTE: This class has been automatically generated from the io.vertx.ext.auth.jwt.JWTAuth non RX-ified interface using Vert.x codegen.

Constructors

<init>

JWTAuth(delegate: JWTAuth)

Properties

__TYPE_ARG

static val __TYPE_ARG: TypeArg<JWTAuth>

Functions

create

open static fun create(vertx: Vertx, config: JWTAuthOptions): JWTAuth

Create a JWT auth provider

equals

open fun equals(other: Any?): Boolean

generateToken

open fun generateToken(claims: JsonObject, options: JWTOptions): String
open fun generateToken(claims: JsonObject): String

Generate a new JWT token.

getDelegate

open fun getDelegate(): JWTAuth

hashCode

open fun hashCode(): Int

newInstance

open static fun newInstance(arg: JWTAuth): JWTAuth

toString

open fun toString(): String