Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Authenticator ¶
type Identity ¶
type Identity struct { // TODO: do we even need the tenant id? Tenant string `yaml:"tenant"` Principal string `yaml:"principal"` Groups []string `yaml:"groups"` // TODO: If we explicitly represent reporters in the database, do we need to distinguish them when they authenticate? IsReporter bool `yaml:"is_reporter"` Type string `yaml:"type"` Href string `yaml:"href"` IsGuest bool `yaml:"is_guest"` }
Identity is the identity of the requester
Click to show internal directories.
Click to hide internal directories.