Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type KeycloakContent ¶
type KeycloakContent string
const ( KeycloakUser KeycloakContent = "user" KeycloakClient KeycloakContent = "client" KeycloakGroup KeycloakContent = "group" )
type Module ¶
type Module struct {
Config ModuleConfig
}
func NewModule ¶
func NewModule(config ModuleConfig) Module
func (Module) OptionsOrCache ¶
type ModuleConfig ¶
type ModuleConfig struct { // Name is used to override the default module name Name string `yaml:"name,omitempty"` // Host is the Keycloak server hostname or IP address Host string `yaml:"host"` // RealmName is the Keycloak realm name RealmName string `yaml:"realm"` // Username is the Keycloak admin username Username string `yaml:"username"` // Password is the Keycloak admin password Password string `yaml:"password"` // AttributeMapping is a list of field mappings used to map additional keycloak attributes to context fields AttributeMapping []types.FieldMapping `yaml:"attribute-mapping"` // Query is a list of content types that should be queried Query []KeycloakContent `yaml:"query"` }
Click to show internal directories.
Click to hide internal directories.