mirror of
https://github.com/nikdoof/pocket-id.git
synced 2025-12-22 13:59:24 +00:00
feat: custom claims (#53)
This commit is contained in:
8
backend/internal/dto/custom_claim_dto.go
Normal file
8
backend/internal/dto/custom_claim_dto.go
Normal file
@@ -0,0 +1,8 @@
|
||||
package dto
|
||||
|
||||
type CustomClaimDto struct {
|
||||
Key string `json:"key" binding:"required,max=20"`
|
||||
Value string `json:"value" binding:"required,max=10000"`
|
||||
}
|
||||
|
||||
type CustomClaimCreateDto = CustomClaimDto
|
||||
Reference in New Issue
Block a user