authmiddleware

package
v1.7.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

View Source
var AuthProviders []GinAuthProvider

Functions

func AuthenticationMiddleware

func AuthenticationMiddleware(c *gin.Context)

func RegisterAuthProvider

func RegisterAuthProvider(provider GinAuthProvider)

Types

type GinAuthProvider

type GinAuthProvider interface {
	IsOfType(c *gin.Context) bool
	Authenticate(c *gin.Context)
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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