Adds JWT-based auth with refresh tokens
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
package net.halfbinary.scavengerhuntapi.model.request
|
||||
|
||||
import jakarta.validation.constraints.NotBlank
|
||||
import net.halfbinary.scavengerhuntapi.model.RefreshId
|
||||
|
||||
data class RefreshRequest(
|
||||
@field:NotBlank(message = "Refresh token cannot be blank")
|
||||
val refreshToken: RefreshId,
|
||||
)
|
||||
Reference in New Issue
Block a user