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) }
Click to show internal directories.
Click to hide internal directories.