rbac_echo

package
v0.21.1 Latest Latest
Warning

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

Go to latest
Published: Nov 6, 2024 License: GPL-3.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type EchoAccessFilter

type EchoAccessFilter struct {
	Authenticator plugins.Authorization
	// contains filtered or unexported fields
}

func NewEchoAccessFilter

func NewEchoAccessFilter(config *m.AppConfig, authenticator plugins.Authorization) *EchoAccessFilter

func (*EchoAccessFilter) Auth

func (f *EchoAccessFilter) Auth(next echo.HandlerFunc) echo.HandlerFunc

func (*EchoAccessFilter) HTTP401

func (f *EchoAccessFilter) HTTP401(ctx echo.Context, err error) error

Jump to

Keyboard shortcuts

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