authn

package
v0.0.0-...-4c964c4 Latest Latest
Warning

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

Go to latest
Published: Jul 29, 2025 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Attempt

func Attempt(authenticator authn.Authenticator) func(http.Handler) http.Handler

Attempt returns an http.HandlerFunc middleware that authenticates the http.Request if authentication payload is available. Otherwise, an anonymous user session is used instead.

func Attempts

func Attempts(authenticators ...authn.Authenticator) func(http.Handler) http.Handler

func RequireContainerAccess

func RequireContainerAccess(urlProvider url.Provider) func(http.Handler) http.Handler

RequireContainerAccess tell client the next token-generate endpoint

func Sudo

Types

This section is empty.

Jump to

Keyboard shortcuts

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