config

package
v0.6.1 Latest Latest
Warning

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

Go to latest
Published: Oct 20, 2026 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AuthContextConfig added in v0.2.0

type AuthContextConfig struct {
	HostField    string            `yaml:"hostField"`
	HeaderFields map[string]string `yaml:"headerFields"`
	BasePath     string            `yaml:"basePath"`
}

type Config

type Config struct {
	Host        commoncfg.SourceRef `yaml:"host"`
	Auth        commoncfg.SecretRef `yaml:"auth"`
	AuthContext commoncfg.SourceRef `yaml:"authContext"`
	Params      Params              `yaml:"params"`
}

type Params

type Params struct {
	GroupAttribute        commoncfg.SourceRef `yaml:"groupAttribute"`
	UserAttribute         commoncfg.SourceRef `yaml:"userAttribute"`
	GroupMembersAttribute commoncfg.SourceRef `yaml:"groupMembersAttribute"`
	ListMethod            commoncfg.SourceRef `yaml:"listMethod"`
}

type StaticConfig added in v0.6.0

type StaticConfig struct {
	// JSONData is a JSON string with the users and groups to serve, using the
	// SCIM User and Group representations. Membership may be declared on the
	// group (members), on the user (groups), or both. Example:
	//
	//	json_data: |
	//	  {
	//	    "users":  [{"id": "u1", "userName": "alice", "emails": [{"value": "alice@example.com", "primary": true}]}],
	//	    "groups": [{"id": "g1", "displayName": "KeyAdmin", "members": [{"value": "u1"}]}]
	//	  }
	JSONData string `yaml:"json_data"`
}

StaticConfig configures the static SCIM plugin, which serves users and groups from JSON given in the plugin configuration instead of querying a SCIM server.

Jump to

Keyboard shortcuts

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