src.dualinventive.com/go/authentication-service/internal/domain/token.go

14 lines
269 B
Go

package domain
//Credentials contains a username and password combination.
type Credentials struct {
User string
CompanyCode string
Password string
}
//Token reflects a single generated token used for authentication.
type Token struct {
Secret string
}