okta

package
v1.46.0 Latest Latest
Warning

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

Go to latest
Published: Dec 22, 2025 License: Apache-2.0 Imports: 22 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Name = "okta"
)

Variables

This section is empty.

Functions

func Factory

func Factory() plugins.Factory

Types

type Config

type Config struct {
	URL string `json:"url"`

	// Bearer mode
	ClientID     string `json:"client_id,omitempty"`
	ClientSecret string `json:"client_secret,omitempty"`

	// SSWS mode (Single Sign-On Web Systems)
	Token string `json:"token,omitempty"`

	// PrivateKey mode
	// ClientID is used as well
	PrivateKey   string `json:"private_key,omitempty"` // key in rsa format or a file path
	PrivateKeyID string `json:"private_key_id,omitempty"`

	// scopes
	Users  bool `json:"users,omitempty"`
	Groups bool `json:"groups,omitempty"`
	Roles  bool `json:"roles,omitempty"`
	Apps   bool `json:"apps,omitempty"`

	Interval string `json:"polling_interval,omitempty"` // default 5m, min 10s
	Path     string `json:"path"`

	RegoTransformRule string `json:"rego_transform"`
	// contains filtered or unexported fields
}

Config represents the configuration of the okta data plugin

func (Config) Equal

func (c Config) Equal(other Config) bool

type Data

type Data struct {
	Config Config

	*transform.Rego
	// contains filtered or unexported fields
}

Data plugin

func (*Data) Name

func (c *Data) Name() string

dataPlugin accessors

func (*Data) Path

func (c *Data) Path() storage.Path

func (*Data) Reconfigure

func (c *Data) Reconfigure(ctx context.Context, next any)

func (*Data) Start

func (c *Data) Start(ctx context.Context) error

func (*Data) Stop

func (c *Data) Stop(ctx context.Context)

Jump to

Keyboard shortcuts

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