Minimize token claims
This commit is contained in:
parent
eb0927af9a
commit
71784be729
1 changed files with 3 additions and 2 deletions
|
|
@ -26,8 +26,9 @@ var (
|
|||
const updateInterval = 5 * time.Minute
|
||||
|
||||
type Claims struct {
|
||||
Username string `json:"username"`
|
||||
SponsorExempt bool `json:"spe"`
|
||||
UsernameDeprecated string `json:"username,omitempty"`
|
||||
Username string `json:"usr,omitempty"`
|
||||
SponsorExempt bool `json:"spe,omitempty"`
|
||||
jwt.StandardClaims
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue