wg-portal/internal/authentication/user.go

13 lines
230 B
Go
Raw Normal View History

package authentication
2021-02-26 16:17:04 -05:00
// User represents the data that can be retrieved from authentication backends.
type User struct {
Email string
IsAdmin bool
// optional fields
Firstname string
Lastname string
Phone string
}