Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ErrUnsupportedAuthenticatorType = errors.New("authenticator type unsupported")
)
Functions ¶
This section is empty.
Types ¶
type Authenticator ¶
type Authenticator interface { Execute(heimdall.Context) (*subject.Subject, error) WithConfig(config map[string]any) (Authenticator, error) }
func CreateAuthenticatorPrototype ¶
func CreateAuthenticatorPrototype( id string, typ config.PipelineObjectType, config map[string]any, ) (Authenticator, error)
type AuthenticatorTypeFactory ¶
type AuthenticatorTypeFactory func( id string, typ config.PipelineObjectType, config map[string]any, ) (bool, Authenticator, error)
Source Files ¶
- anonymous_authenticator.go
- authenticator.go
- authenticator_type_registry.go
- basic_auth_authenticator.go
- config_decoder.go
- default_allowed_algorithms.go
- generic_authenticator.go
- jwt_authenticator.go
- noop_authenticator.go
- oauth2_introspection_authenticator.go
- session.go
- subject_factory.go
- test_mocks.go
- unauthorized_authenticator.go
Click to show internal directories.
Click to hide internal directories.