Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewAuthenticationFilter ¶
func NewAuthenticationFilter(ctx context.Context, managementContext *config.ScaledContext, next http.Handler, sar sar.SubjectAccessReview) (http.Handler, error)
Types ¶
type Authenticator ¶
type Authenticator interface {
Authenticate(req *http.Request) (authed bool, user string, groups []string, err error)
TokenFromRequest(req *http.Request) (*v3.Token, error)
}
func NewAuthenticator ¶
func NewAuthenticator(ctx context.Context, mgmtCtx *config.ScaledContext) Authenticator
Click to show internal directories.
Click to hide internal directories.