ApiKey

data class ApiKey(val defaultTtl: Duration? = null, val keyPrefixLength: Int = 8) : AuthType

API key based authentication, intended for machine-to-machine access. Keys are issued per-user and sent via the ApiKeyAuth header. Managing keys (issuing/listing/revoking) is itself protected by this same auth type, so an existing key (or a future combined auth type, see below) is required to mint additional keys.

Constructors

Link copied to clipboard
constructor(defaultTtl: Duration? = null, keyPrefixLength: Int = 8)

Properties

Link copied to clipboard
Link copied to clipboard
open val cookieDomain: String?
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard