entityresolution

package
v0.4.27 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 14, 2024 License: BSD-3-Clause-Clear Imports: 18 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ClientJwtSelector   = "azp"
	UsernameJwtSelector = "preferred_username"
)

Variables

View Source
var (
	ErrCreationFailed     = errors.New("resource creation failed")
	ErrGetRetrievalFailed = errors.New("resource retrieval failed")
	ErrNotFound           = errors.New("resource not found")
)

Functions

Types

type EntityImpliedFrom added in v0.4.11

type EntityImpliedFrom struct {
	ClientID bool `mapstructure:"clientid,omitempty" json:"clientid,omitempty"`
	Email    bool `mapstructure:"email,omitempty" json:"email,omitempty"`
	Username bool `mapstructure:"username,omitempty" json:"username,omitempty"`
}

type InferredIdentityConfig added in v0.4.11

type InferredIdentityConfig struct {
	From EntityImpliedFrom `mapstructure:"from,omitempty" json:"from,omitempty"`
}

type KeyCloakConnector

type KeyCloakConnector struct {
	// contains filtered or unexported fields
}

type KeycloakConfig

type KeycloakConfig struct {
	URL            string                 `mapstructure:"url" json:"url"`
	Realm          string                 `mapstructure:"realm" json:"realm"`
	ClientID       string                 `mapstructure:"clientid" json:"clientid"`
	ClientSecret   string                 `mapstructure:"clientsecret" json:"clientsecret"`
	LegacyKeycloak bool                   `mapstructure:"legacykeycloak" json:"legacykeycloak" default:"false"`
	SubGroups      bool                   `mapstructure:"subgroups" json:"subgroups" default:"false"`
	InferID        InferredIdentityConfig `mapstructure:"inferid,omitempty" json:"inferid,omitempty"`
}

func (KeycloakConfig) LogValue added in v0.4.19

func (c KeycloakConfig) LogValue() slog.Value

type KeycloakEntityResolutionService added in v0.4.27

type KeycloakEntityResolutionService struct {
	entityresolution.UnimplementedEntityResolutionServiceServer
	// contains filtered or unexported fields
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL