vertx / io.vertx.kotlin.ext.auth.jwt / JWTOptions

# JWTOptions

`fun JWTOptions(algorithm: String? = null, audience: Iterable<String>? = null, audiences: Iterable<String>? = null, expiresInMinutes: Int? = null, expiresInSeconds: Int? = null, header: JsonObject? = null, ignoreExpiration: Boolean? = null, issuer: String? = null, leeway: Int? = null, noTimestamp: Boolean? = null, permissions: Iterable<String>? = null, subject: String? = null): JWTOptions`

A function providing a DSL for building io.vertx.ext.auth.jwt.JWTOptions objects.

Options related to creation of new tokens.

If any expiresInMinutes, audience, subject, issuer are not provided, there is no default. The jwt generated won't include those properties in the payload.

Generated JWTs will include an iat claim by default unless noTimestamp is specified.

### Parameters

`algorithm` -

`audience` -

`audiences` -

`expiresInMinutes` -

`expiresInSeconds` -

`header` -

`ignoreExpiration` -

`issuer` -

`leeway` -

`noTimestamp` -

`permissions` - The permissions of this token.

`subject` -