scim

package
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: Mar 12, 2026 License: Apache-2.0 Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrID                     = oops.In("Identity management Plugin")
	ErrNoScimClient           = errors.New("no scim client exists")
	ErrGetGroup               = errors.New("failed to get group")
	ErrGetAllGroups           = errors.New("failed to get allx group")
	ErrGetGroupNonExistent    = status.New(codes.NotFound, "group does not exist").Err()
	ErrGetGroupMultipleGroups = errors.New("more than one group")
	ErrGetGroupsForUser       = errors.New("failed to get groups for user")
	ErrGetUsersForGroup       = errors.New("failed to get users for group")
	ErrNoID                   = errors.New("no filter id provided")
)

Functions

This section is empty.

Types

type Params

type Params struct {
	BaseHost                string // Fallback host if not provided in auth context
	GroupAttribute          string
	UserAttribute           string
	GroupMembersAttribute   string
	ListMethod              string
	AllowSearchUsersByGroup bool
	AuthContext             config.AuthContextConfig
}

type Plugin

type Plugin struct {
	idmangv1.UnsafeIdentityManagementServiceServer
	configv1.UnsafeConfigServer
	// contains filtered or unexported fields
}

Plugin is a simple test implementation of KeystoreProviderServer

func NewPlugin

func NewPlugin(buildInfo string) *Plugin

func (*Plugin) Configure

func (*Plugin) GetAllGroups

func (p *Plugin) GetAllGroups(
	ctx context.Context,
	request *idmangv1.GetAllGroupsRequest,
) (*idmangv1.GetAllGroupsResponse, error)

func (*Plugin) GetGroup

func (p *Plugin) GetGroup(
	ctx context.Context,
	request *idmangv1.GetGroupRequest,
) (*idmangv1.GetGroupResponse, error)

func (*Plugin) GetGroupsForUser

func (*Plugin) GetUsersForGroup

func (*Plugin) SetLogger

func (p *Plugin) SetLogger(logger hclog.Logger)

Jump to

Keyboard shortcuts

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