library
Toggle table of contents
1.0.0
common
Target filter
common
Switch theme
Search in API
Skip to content
library
library
/
xyz.malefic.koven.auth.model
/
ApiKeyInfoModel
Api
Key
Info
Model
@
Serializable
data
class
ApiKeyInfoModel
(
val
id
:
Uuid
,
val
name
:
String
,
val
prefix
:
String
,
val
createdAt
:
Long
,
val
expiresAt
:
Long
?
=
null
,
val
lastUsedAt
:
Long
?
=
null
,
val
revoked
:
Boolean
=
false
)
Metadata about an existing API key, deliberately excluding the raw key.
Members
Constructors
Api
Key
Info
Model
Link copied to clipboard
constructor
(
id
:
Uuid
,
name
:
String
,
prefix
:
String
,
createdAt
:
Long
,
expiresAt
:
Long
?
=
null
,
lastUsedAt
:
Long
?
=
null
,
revoked
:
Boolean
=
false
)
Properties
created
At
Link copied to clipboard
val
createdAt
:
Long
expires
At
Link copied to clipboard
val
expiresAt
:
Long
?
id
Link copied to clipboard
val
id
:
Uuid
last
Used
At
Link copied to clipboard
val
lastUsedAt
:
Long
?
name
Link copied to clipboard
val
name
:
String
prefix
Link copied to clipboard
val
prefix
:
String
revoked
Link copied to clipboard
val
revoked
:
Boolean