Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SetupCustomKeycloak ¶ added in v0.2.0
func SetupCustomKeycloak(ctx context.Context, kcParams KeycloakConnectParams, keycloakData KeycloakData) error
func SetupKeycloak ¶
func SetupKeycloak(ctx context.Context, kcConnectParams KeycloakConnectParams) error
Types ¶
type KeycloakConnectParams ¶
type KeycloakData ¶ added in v0.2.0
type KeycloakData struct {
Realms []RealmToCreate `yaml:"realms" json:"realms"`
}
type RealmToCreate ¶ added in v0.2.0
type RealmToCreate struct { RealmRepresentation gocloak.RealmRepresentation `yaml:"realm_repepresentation" json:"realm_repepresentation"` Clients []Client `yaml:"clients,omitempty" json:"clients,omitempty"` Users []gocloak.User `yaml:"users,omitempty" json:"users,omitempty"` CustomRealmRoles []gocloak.Role `yaml:"custom_realm_roles,omitempty" json:"custom_realm_roles,omitempty"` CustomClientRoles map[string][]gocloak.Role `yaml:"custom_client_roles,omitempty" json:"custom_client_roles,omitempty"` CustomGroups []gocloak.Group `yaml:"custom_groups,omitempty" json:"custom_groups,omitempty"` TokenExchanges []TokenExchange `yaml:"token_exchanges,omitempty" json:"token_exchanges,omitempty"` }
type TokenExchange ¶ added in v0.2.0
Click to show internal directories.
Click to hide internal directories.