Data

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
@JvmField
val createdAt: String

The ISO 8601 formatted time at which the Data was first created

Link copied to clipboard
@JvmField
val expiresAt: String

The ISO 8601 formatted time at which Data (and thus ApiKey) will expire

Link copied to clipboard
@JvmField
val extras: Set<String>

Any extra information that may be needed, but is not suitable as a Property

Link copied to clipboard
@JvmField
val keyId: String

The id associated with this ApiKey

Link copied to clipboard
@JvmField
val properties: Set<P>

A set of properties specific to the ApiKey implementation

Link copied to clipboard
@JvmField
val uuid: String

The unique id for this ApiKey

Functions

Link copied to clipboard
fun expiresIn(): Duration
Link copied to clipboard
fun isExpired(): Boolean
Link copied to clipboard
fun wasCreatedAfter(epochMillis: Long): Boolean