Package-level declarations
Types
Link copied to clipboard
data class AccessTokenDTO(val userId: NonQualifiedUserId, val value: String, val expiresIn: Int, val tokenType: String)
Represents an access token received from an authentication server.
Link copied to clipboard
Link copied to clipboard
Mapping between the base API model and the versioned API models.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
data class ErrorResponse(val code: Int, val message: String, val label: String, val cause: Cause? = null)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
internal data class JoinConversationRequestV4(val code: String, val key: String, val uri: String?, val password: String?)
Link copied to clipboard
Link copied to clipboard
data class LegalHoldStatusResponse(val legalHoldStatusDTO: LegalHoldStatusDTO, val clientId: ClientIdDTO?, val lastPreKey: LastPreKeyDTO?)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
internal data class NewUserDTO(val accentId: Int?, val assets: List<UserAssetDTO>?, val email: String?, val emailCode: String?, val expiresIn: Int?, val invitationCode: String?, val label: String?, val locale: String?, val managedByDTO: ManagedByDTO?, val name: String, val password: String?, val phone: String?, val phoneCode: String?, val ssoID: UserSsoIdDTO?, val newBindingTeamDTO: NewBindingTeamDTO?, val teamCode: String?, val teamID: TeamId?, val uuid: String?)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
data class PushTokenBody(val senderId: String, val client: String, val token: String, val transport: String)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
data class SelfUserDTO(val id: UserId, val name: String, val handle: String?, val teamId: TeamId?, val accentId: Int, val assets: List<UserAssetDTO>, val deleted: Boolean?, val email: String?, val expiresAt: String?, val nonQualifiedId: NonQualifiedUserId, val service: ServiceDTO?, val supportedProtocols: List<SupportedProtocolDTO>?, val locale: String, val managedByDTO: ManagedByDTO?, val phone: String?, val ssoID: UserSsoIdDTO?) : UserDTO
Link copied to clipboard
Link copied to clipboard
data class ServiceDetailDTO(val enabled: Boolean, val assets: List<UserAssetDTO>?, val id: String, val provider: String, val name: String, val description: String, val summary: String, val tags: List<String>)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
data class SessionDTO(val userId: QualifiedID, val tokenType: String, val accessToken: String, val refreshToken: String, val cookieLabel: String?)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
data class UserProfileDTO(val id: UserId, val name: String, val handle: String?, val teamId: TeamId?, val accentId: Int, val assets: List<UserAssetDTO>, val deleted: Boolean?, val email: String?, val expiresAt: String?, val nonQualifiedId: NonQualifiedUserId, val service: ServiceDTO?, val supportedProtocols: List<SupportedProtocolDTO>?, val legalHoldStatus: LegalHoldStatusDTO) : UserDTO
Link copied to clipboard
Functions
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
internal fun AccessTokenDTO.toSessionDto(refreshToken: String, qualifiedID: QualifiedID, cookieLabel: String?): SessionDTO