Login

interface Login

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.