okta

package
v0.28.67 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewOktaClient

func NewOktaClient(ctx context.Context, conf *OktaClientConfig) (*okta.Client, error)

Types

type AppResource

type AppResource interface {
	ListApplications(
		ctx context.Context,
		qp *query.Params,
	) ([]okta.App, *okta.Response, error)
}

type ClientID added in v0.7.0

type ClientID string

func GetClientIDs

func GetClientIDs(ctx context.Context, userID string, oktaClient AppResource) ([]ClientID, error)

func (ClientID) String added in v0.7.0

func (c ClientID) String() string

type OktaClientConfig

type OktaClientConfig struct {
	ClientID      string
	PrivateKeyPEM string
	OrgURL        string
}

Configuration for an okta client

Jump to

Keyboard shortcuts

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