AuthenticationResult

@Serializable
data class AuthenticationResult(val user: UserDto? = null, val sessionInfo: SessionInfoDto? = null, val accessToken: String? = null, val serverId: String? = null)

A class representing an authentication result.

Constructors

Link copied to clipboard
constructor(user: UserDto? = null, sessionInfo: SessionInfoDto? = null, accessToken: String? = null, serverId: String? = null)

Properties

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

The access token.

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

The server id.

Link copied to clipboard
@SerialName(value = "SessionInfo")
val sessionInfo: SessionInfoDto?

Session info DTO.

Link copied to clipboard
@SerialName(value = "User")
val user: UserDto?

Class UserDto.