root
Toggle table of contents
serverkit
Target filter
serverkit
Switch theme
Search in API
Skip to content
root
root
/
fi.utu.tech.serverkit.model
/
UserEntry
User
Entry
serverkit
data
class
UserEntry
(
val
userName
:
String
,
val
passwordHash
:
String
,
val
salt
:
String
,
val
displayName
:
String
=
userName
,
val
roles
:
List
<
String
>
=
listOf()
)
Entries consist of username, list of roles, hashed password.
Members
Constructors
User
Entry
Link copied to clipboard
serverkit
constructor
(
userRoleMap
:
UserRoleMap
,
userName
:
String
,
password
:
String
?
,
salt
:
String
=
generateSalt()
,
displayName
:
String
=
userName
,
roles
:
List
<
String
>
=
listOf()
)
constructor
(
userName
:
String
,
passwordHash
:
String
,
salt
:
String
,
displayName
:
String
=
userName
,
roles
:
List
<
String
>
=
listOf()
)
Types
Companion
Link copied to clipboard
serverkit
object
Companion
Properties
display
Name
Link copied to clipboard
serverkit
val
displayName
:
String
hash
Bytes
Link copied to clipboard
serverkit
val
hashBytes
:
ByteArray
password
Hash
Link copied to clipboard
serverkit
val
passwordHash
:
String
roles
Link copied to clipboard
serverkit
val
roles
:
List
<
String
>
salt
Link copied to clipboard
serverkit
val
salt
:
String
salt
Bytes
Link copied to clipboard
serverkit
val
saltBytes
:
ByteArray
user
Name
Link copied to clipboard
serverkit
val
userName
:
String