Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Group ¶
type Group struct {
ID string `json:"id"`
Name string `json:"name"` // Name represents (always) the full group path
}
Group represents a Keycloak group.
type KeycloakAPIClient ¶
type KeycloakAPIClient struct {
// contains filtered or unexported fields
}
KeycloakAPIClient provides methods to interact with Keycloak's REST API.
func NewKeycloakAPIClient ¶
func NewKeycloakAPIClient(authClient *auth.KeycloakClient) *KeycloakAPIClient
NewKeycloakAPIClient creates a new KeycloakAPIClient.
func (*KeycloakAPIClient) ListGroups ¶
func (kc *KeycloakAPIClient) ListGroups(ctx context.Context) ([]Group, error)
ListGroups retrieves all groups from Keycloak. ListGroups retrieves all groups from Keycloak and flattens groups + subgroups.
Click to show internal directories.
Click to hide internal directories.