authmw

package
v0.10.3 Latest Latest
Warning

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

Go to latest
Published: Nov 28, 2024 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func HasRole

func HasRole(roleList []string, role string) bool

HasRole checks if a slice contains a specific element

func InitJwtAuthMw

func InitJwtAuthMw(iamEndpoint string, pubkeyUrl string) error

func JwtAuthMw

func JwtAuthMw(skipPatterns [][]string) echo.MiddlewareFunc

JwtAuthMw initializes and returns the JWT middleware.

Types

This section is empty.

Jump to

Keyboard shortcuts

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