middlewares

package
v0.1.3 Latest Latest
Warning

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

Go to latest
Published: Jan 20, 2025 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type OIDCAuthenticator

type OIDCAuthenticator interface {
	Middleware() gin.HandlerFunc
}

func NewOIDCAuthenticator

func NewOIDCAuthenticator(logger logger.Logger, cfg config.Config) (OIDCAuthenticator, error)

NewOIDCAuthenticator creates a new OIDCAuthenticator instance

type OIDCAuthenticatorImpl

type OIDCAuthenticatorImpl struct {
	// contains filtered or unexported fields
}

func (*OIDCAuthenticatorImpl) Middleware

func (a *OIDCAuthenticatorImpl) Middleware() gin.HandlerFunc

Middleware implementation of the OIDCAuthenticator interface

type OIDCAuthenticatorNoop

type OIDCAuthenticatorNoop struct{}

func (*OIDCAuthenticatorNoop) Middleware

func (a *OIDCAuthenticatorNoop) Middleware() gin.HandlerFunc

Noop implementation of the OIDCAuthenticator interface

Jump to

Keyboard shortcuts

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