AuthUser

@Serializable
data class AuthUser(val name: String?, val id: Int, val profilePicture: String? = null, val profilePictureHeaders: Map<String, String>? = null)(source)

Constructors

Link copied to clipboard
constructor(name: String?, id: Int, profilePicture: String? = null, profilePictureHeaders: Map<String, String>? = null)

Properties

Link copied to clipboard
@SerialName(value = "id")
val id: Int

Unique account identifier. If a subsequent login is done then it will be refused if another account with the same id exists.

Link copied to clipboard
@SerialName(value = "name")
val name: String?

Account display-name, can also be email if name does not exist

Link copied to clipboard
@SerialName(value = "profilePicture")
val profilePicture: String?

Profile picture URL

Link copied to clipboard
@SerialName(value = "profilePictureHeaders")
val profilePictureHeaders: Map<String, String>?

Profile picture Headers of the URL