Documentation ¶
Index ¶
- Constants
- func CreateEntityChainFromJwt(ctx context.Context, req *entityresolution.CreateEntityChainFromJwtRequest, ...) (entityresolution.CreateEntityChainFromJwtResponse, error)
- func EntityResolution(ctx context.Context, req *entityresolution.ResolveEntitiesRequest, ...) (entityresolution.ResolveEntitiesResponse, error)
- type EntityImpliedFrom
- type InferredIdentityConfig
- type KeyCloakConnector
- type KeycloakConfig
Constants ¶
View Source
const ClientJwtSelector = "azp"
View Source
const ErrTextCreationFailed = "resource creation failed"
View Source
const ErrTextGetRetrievalFailed = "resource retrieval failed"
View Source
const ErrTextNotFound = "resource not found"
View Source
const UsernameConditionalSelector = "client_id"
View Source
const UsernameJwtSelector = "preferred_username"
Variables ¶
This section is empty.
Functions ¶
func CreateEntityChainFromJwt ¶ added in v0.4.3
func CreateEntityChainFromJwt( ctx context.Context, req *entityresolution.CreateEntityChainFromJwtRequest, kcConfig KeycloakConfig, logger *logger.Logger, ) (entityresolution.CreateEntityChainFromJwtResponse, error)
func EntityResolution ¶
func EntityResolution(ctx context.Context, req *entityresolution.ResolveEntitiesRequest, kcConfig KeycloakConfig, logger *logger.Logger) (entityresolution.ResolveEntitiesResponse, error)
Types ¶
type EntityImpliedFrom ¶ added in v0.4.11
type InferredIdentityConfig ¶ added in v0.4.11
type InferredIdentityConfig struct {
From EntityImpliedFrom `json:"from,omitempty"`
}
type KeyCloakConnector ¶
type KeyCloakConnector struct {
// contains filtered or unexported fields
}
type KeycloakConfig ¶
type KeycloakConfig struct { URL string `json:"url"` Realm string `json:"realm"` ClientID string `json:"clientid"` ClientSecret string `json:"clientsecret"` LegacyKeycloak bool `json:"legacykeycloak" default:"false"` SubGroups bool `json:"subgroups" default:"false"` InferID InferredIdentityConfig `json:"inferid,omitempty"` }
Click to show internal directories.
Click to hide internal directories.