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
/
SimplePrincipal
Simple
Principal
@
Serializable
data
class
SimplePrincipal
(
val
userId
:
Uuid
,
val
username
:
String
)
:
Principal
A simple implementation of
Principal
.
Members
Constructors
Simple
Principal
Link copied to clipboard
constructor
(
userId
:
Uuid
,
username
:
String
)
Properties
user
Id
Link copied to clipboard
@
SerialName
(
value
=
"user_id"
)
open
override
val
userId
:
Uuid
The unique identifier for the user.
username
Link copied to clipboard
open
override
val
username
:
String
The username of the user.