Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Info ¶
type Info struct {
Information Information `cfg:"information"`
SessionMiddleware string `cfg:"session_middleware"`
}
type Information ¶
type Information struct {
// Values list to store in the cookie like "preferred_username", "given_name", "family_name", "sid", "azp", "aud"
Values []string `cfg:"values"`
// Custom map to store in the cookie.
Custom map[string]any `cfg:"custom"`
// Roles to store in the cookie as []string.
Roles bool `cfg:"roles"`
// Scopes to store in the cookie as []string.
Scopes bool `cfg:"scopes"`
}
Click to show internal directories.
Click to hide internal directories.