ApiKeyRequestModel

@Serializable
data class ApiKeyRequestModel(val name: String, val expiresInDays: Long? = null)

A request to create a new API key.

Constructors

Link copied to clipboard
constructor(name: String, expiresInDays: Long? = null)

Properties

Link copied to clipboard

How many days until the key expires. Falls back to xyz.malefic.koven.auth.AuthType.ApiKey.defaultTtl when null.

Link copied to clipboard

A human-readable label for the key.