idp

package
v0.14.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const (
	InternalIdpForm = AuthenticationFlow("InternalIdpForm")
	ExternalIdpSAML = AuthenticationFlow("ExternalIdpSAML")
	UnknownIdp      = AuthenticationFlow("UnKnown")
)

Variables

This section is empty.

Functions

func RequestWithAuthenticationFlow

func RequestWithAuthenticationFlow(flow AuthenticationFlow, idpManager IdentityProviderManager) web.RequestMatcher

Types

type AuthenticationFlow

type AuthenticationFlow string

func (AuthenticationFlow) MarshalText

func (f AuthenticationFlow) MarshalText() ([]byte, error)

MarshalText implements encoding.TextMarshaler

func (*AuthenticationFlow) UnmarshalText

func (f *AuthenticationFlow) UnmarshalText(data []byte) error

UnmarshalText implements encoding.TextUnmarshaler

type AuthenticationFlowAware

type AuthenticationFlowAware interface {
	AuthenticationFlow() AuthenticationFlow
}

type IdentityProvider

type IdentityProvider interface {
	Domain() string
}

type IdentityProviderManager

type IdentityProviderManager interface {
	GetIdentityProvidersWithFlow(ctx context.Context, flow AuthenticationFlow) []IdentityProvider
	GetIdentityProviderByDomain(ctx context.Context, domain string) (IdentityProvider, error)
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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