Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AuthenticationModel ¶
AuthenticationModel details authentication token and user details.
type KeycloakAPIAuth ¶
type KeycloakAPIAuth struct {
AccessToken string `json:"access_token"`
}
KeycloakAPIAuth is returned when authenticating with Keycloak REST API.
type KeycloakAuthRequest ¶
type KeycloakAuthRequest struct { Domain string `json:"domain"` Token string `json:"token"` RemoteID string `json:"remoteId"` Email string `json:"email"` Username string `json:"username"` Firstname string `json:"firstname"` Lastname string `json:"lastname"` Enabled bool `json:"enabled"` }
KeycloakAuthRequest data received via Keycloak client library
type KeycloakConfig ¶
type KeycloakConfig struct { URL string `json:"url"` Realm string `json:"realm"` ClientID string `json:"clientId"` PublicKey string `json:"publicKey"` AdminUser string `json:"adminUser"` AdminPassword string `json:"adminPassword"` Group string `json:"group"` DisableLogout bool `json:"disableLogout"` DefaultPermissionAddSpace bool `json:"defaultPermissionAddSpace"` }
KeycloakConfig server configuration
Click to show internal directories.
Click to hide internal directories.