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

# generateToken

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

Generate a new JWT token.

### Parameters

`claims` - Json with user defined claims for a list of official claims

`options` - extra options for the generation

Return
JWT encoded token

`open fun generateToken(claims: JsonObject): String`

Generate a new JWT token.

### Parameters

`claims` - Json with user defined claims for a list of official claims

Return
JWT encoded token