13 lines
230 B
Go
Raw Normal View History

package authentication
2021-02-26 22:17:04 +01: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
}