Documentation
¶
Index ¶
Constants ¶
View Source
const ( RoleAnon = "anon" RoleUserKey = "user-key" RoleAdminKey = "admin-key" RoleIngestKey = "ingest-key" )
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Row ¶
type Row struct {
Service string `json:"service"`
Path string `json:"path"`
Method string `json:"method"`
Role string `json:"role"`
Expect int `json:"expect,omitempty"`
ExpectAuthenticated bool `json:"expect_authenticated,omitempty"`
}
Row is one authn/authz expectation from docs/security/authz-matrix.json.
Click to show internal directories.
Click to hide internal directories.