Newer
Older
wg-portal / internal / authentication / user.go
@Christoph Haas Christoph Haas on 27 Feb 2021 230 bytes cleanup
package authentication

// 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
}