scim

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Oct 27, 2025 License: Apache-2.0 Imports: 16 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    = errors.New("group does not existent")
	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 {
	GroupAttribute          string
	UserAttribute           string
	GroupMembersAttribute   string
	ListMethod              string
	AllowSearchUsersByGroup bool
}

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() *Plugin

func (*Plugin) Configure

func (*Plugin) GetAllGroups

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