Login

interface Login

Namespace for the login API request and response data classes.

Types

Link copied to clipboard
@Serializable
data class Request(val username: String, val password: String)

Represents the request body for the login API call.

Link copied to clipboard
@Serializable
data class Response(val token: String, val user: User)

Represents the response from a successful login API call.