fix jwtClaims + owneridentity
This commit is contained in:
parent
26048b1b41
commit
f2f179d984
|
@ -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"`
|
||||||
Client string `json:"client"`
|
OwnerIdentity any `json:"owner_identity"`
|
||||||
Role string `json:"role"`
|
Role string `json:"role"`
|
||||||
ExpiresAt int64 `json:"exp"`
|
ExpiresAt int64 `json:"exp"`
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue