Package-level declarations

Types

Link copied to clipboard
data class SimpleUser(val id: String, val displayName: String, val username: String, val email: String?) : User

Convenient implementation class for a user

Link copied to clipboard
interface User

Superinterface for all users in the system. displayName and username properties can default to id if an implementation doesn't know how to populate them, but they allow consistent experience.

Link copied to clipboard
interface UserService<U : User>

Common interface for working with users in the system. Applications don't need to use this, but may find it useful