v1alpha1

package
v0.29.0 Latest Latest
Warning

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

Go to latest
Published: Mar 13, 2024 License: Apache-2.0 Imports: 0 Imported by: 1

Documentation

Index

Constants

View Source
const (
	IDPTypeOIDC            IDPType = "oidc"
	IDPTypeLDAP            IDPType = "ldap"
	IDPTypeActiveDirectory IDPType = "activedirectory"

	IDPFlowCLIPassword     IDPFlow = "cli_password"
	IDPFlowBrowserAuthcode IDPFlow = "browser_authcode"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type IDPDiscoveryResponse

type IDPDiscoveryResponse struct {
	PinnipedIDPs []PinnipedIDP `json:"pinniped_identity_providers"`
}

IDPDiscoveryResponse is the response of a FederationDomain's identity provider discovery endpoint.

type IDPFlow

type IDPFlow string

IDPFlow are the strings that can be returned by the Supervisor identity provider discovery endpoint in the array of allowed client "flows" for each returned identity provider.

func (IDPFlow) Equals

func (r IDPFlow) Equals(s string) bool

Equals is a convenience function for comparing an IDPFlow to a string.

func (IDPFlow) String

func (r IDPFlow) String() string

String is a convenience function to convert an IDPFlow to a string.

type IDPType

type IDPType string

IDPType are the strings that can be returned by the Supervisor identity provider discovery endpoint as the "type" of each returned identity provider.

func (IDPType) Equals

func (r IDPType) Equals(s string) bool

Equals is a convenience function for comparing an IDPType to a string.

func (IDPType) String

func (r IDPType) String() string

String is a convenience function to convert an IDPType to a string.

type OIDCDiscoveryResponse

type OIDCDiscoveryResponse struct {
	SupervisorDiscovery OIDCDiscoveryResponseIDPEndpoint `json:"discovery.supervisor.pinniped.dev/v1alpha1"`
}

OIDCDiscoveryResponse is part of the response from a FederationDomain's OpenID Provider Configuration Document returned by the .well-known/openid-configuration endpoint. It ignores all the standard OpenID Provider configuration metadata and only picks out the portion related to Supervisor identity provider discovery.

type OIDCDiscoveryResponseIDPEndpoint

type OIDCDiscoveryResponseIDPEndpoint struct {
	PinnipedIDPsEndpoint string `json:"pinniped_identity_providers_endpoint"`
}

OIDCDiscoveryResponseIDPEndpoint contains the URL for the identity provider discovery endpoint.

type PinnipedIDP

type PinnipedIDP struct {
	Name  string    `json:"name"`
	Type  IDPType   `json:"type"`
	Flows []IDPFlow `json:"flows,omitempty"`
}

PinnipedIDP describes a single identity provider as included in the response of a FederationDomain's identity provider discovery endpoint.

Jump to

Keyboard shortcuts

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