providers

package
v0.2.5 Latest Latest
Warning

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

Go to latest
Published: May 24, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Provider

type Provider interface {
	// AuthorizationRequestParameters allows the autorization request parameters
	// to be tweaked on a per-provider basis.
	AuthorizationRequestParameters() map[string]string

	// Scopes returns a set of scopes that are required by the access token
	// to operate correctly.
	Scopes() []string

	// Groups returns a list of groups the user belongs to.
	Groups(ctx context.Context, organization *unikornv1.Organization, accessToken string) ([]types.Group, error)
}

func New

func New(providerType *unikornv1.IdentityProviderType) Provider

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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