Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GroupBinding ¶ added in v0.9.0
GroupBinding represents a single user↔group association.
type Session ¶ added in v0.8.1
type Session struct {
UserID int64
SessionID string
IsSuper bool
Expires int64
// Permissions is populated for non-superusers to hold the permission IDs derived from their group memberships.
// This is done at session validation time to avoid a database query on every request to fetch the user's permissions.
Permissions []int64
}
type SuperuserLoginUser ¶ added in v0.9.0
SuperuserLoginUser holds the fields required to authenticate a superuser.
Click to show internal directories.
Click to hide internal directories.