1
0
mirror of https://github.com/pocket-id/pocket-id.git synced 2026-02-09 03:14:17 +00:00
Files
pocket-id/backend/internal/dto/custom_claim_dto.go
2024-10-28 18:34:25 +01:00

12 lines
241 B
Go

package dto
type CustomClaimDto struct {
Key string `json:"key"`
Value string `json:"value"`
}
type CustomClaimCreateDto struct {
Key string `json:"key" binding:"required,claimKey"`
Value string `json:"value" binding:"required"`
}