Package com.keygenqt.ps.route.auth.elements

Types

Link copied to clipboard
data class AuthJWTResponse(    val id: Int,     val email: String,     val role: UserRole,     val token: String,     val refreshToken: String)

Response success auth

Link copied to clipboard
data class AuthRequest(    val email: String? = null,     val password: String? = null,     val deviceId: String? = null)

Route request auth

Link copied to clipboard
data class AuthResponse(    val id: Int,     val email: String,     val role: UserRole,     val token: String,     val refreshToken: String)

Response success auth

Link copied to clipboard
data class AuthSessionResponse(    val id: Int,     val email: String,     val role: UserRole)

Response success auth

Link copied to clipboard
enum AuthType : Enum<AuthType>

Type auth

Link copied to clipboard
data class LogoutResponse(val success: Boolean)

Response success auth

Link copied to clipboard
data class RefreshRequest(val deviceId: String, val refreshToken: String)

Route request refresh token