auth/internal/model/token.go

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
}