authn

package
v0.0.1-alpha.5 Latest Latest
Warning

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

Go to latest
Published: Jan 12, 2026 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AttemptWeb

func AttemptWeb(authenticator authn.Authenticator, instanceCtrl *instance.Controller, authCtrl *auth.Controller, cookieName string) func(http.Handler) http.Handler

AttemptWeb returns an http.HandlerFunc middleware that authenticates the http.Request if authentication html payload is available. Otherwise, user will be redirected to login

Types

This section is empty.

Jump to

Keyboard shortcuts

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