oidcropc

package
v0.8.6 Latest Latest
Warning

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

Go to latest
Published: Apr 2, 2024 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Principals

type Principals struct {
	OIDCUserinfoEndpoint string
	OIDCUserGroupsEntry  string
	TransformCase        string
}

Principals struct represents OIDC options for getting principals list from OIDC.

func (Principals) Get

func (p Principals) Get(ctx context.Context, payload []byte) (context.Context, []string, error)

Get method is used to get the list of principals associated to a specific user.

func (*Principals) Init

func (p *Principals) Init(config *viper.Viper) error

Init method is used to ingest config of Principals

Jump to

Keyboard shortcuts

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