mirror of
https://github.com/h44z/wg-portal
synced 2025-02-26 05:49:14 +00:00
13 lines
230 B
Go
13 lines
230 B
Go
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
|
|
}
|