auth/internal/model/token.go
2021-09-23 22:55:56 +05:00

18 lines
241 B
Go

package model
type Token struct {
Profile *Profile
Scopes []string
AccessToken string
Type string
Me URL
ClientID URL
}
func NewToken() *Token {
t := new(Token)
t.Scopes = make([]string, 0)
return t
}