1
0
mirror of https://github.com/woodpecker-ci/woodpecker.git synced 2024-11-30 08:06:52 +02:00
woodpecker/common/token.go

10 lines
222 B
Go
Raw Normal View History

package common
type Token struct {
Sha string `json:"-"`
Login string `json:"-"`
Repos []string `json:"repos,omitempty"`
Scopes []string `json:"scopes,omitempty"`
Expiry int64 `json:"expiry,omitempty"`
}