Add scope field to access token
This commit is contained in:
parent
f1ea6c92d1
commit
90e3b585ff
1 changed files with 1 additions and 0 deletions
|
@ -59,6 +59,7 @@ type AccessToken struct {
|
|||
TokenHash string `xorm:"UNIQUE"` // sha256 of token
|
||||
TokenSalt string
|
||||
TokenLastEight string `xorm:"token_last_eight"`
|
||||
Scope string
|
||||
|
||||
CreatedUnix timeutil.TimeStamp `xorm:"INDEX created"`
|
||||
UpdatedUnix timeutil.TimeStamp `xorm:"INDEX updated"`
|
||||
|
|
Loading…
Add table
Reference in a new issue