fix jwtClaims + owner
This commit is contained in:
parent
f2f179d984
commit
29fb426c60
|
@ -6,10 +6,10 @@ type CertFileBytes struct {
|
||||||
}
|
}
|
||||||
|
|
||||||
type JwtClaims struct {
|
type JwtClaims struct {
|
||||||
ID uint `json:"id"`
|
ID uint `json:"id"`
|
||||||
Identity string `json:"identity"`
|
Identity string `json:"identity"`
|
||||||
Extend map[string]string `json:"extend"`
|
Extend map[string]string `json:"extend"`
|
||||||
OwnerIdentity any `json:"owner_identity"`
|
Owner any `json:"owner"`
|
||||||
Role string `json:"role"`
|
Role string `json:"role"`
|
||||||
ExpiresAt int64 `json:"exp"`
|
ExpiresAt int64 `json:"exp"`
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue