auth

package
v1.0.41 Latest Latest
Warning

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

Go to latest
Published: Jan 7, 2025 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ApiKeyAuth

func ApiKeyAuth(c *gin.Context)

func AuthenticationMiddleware

func AuthenticationMiddleware(c *gin.Context)

func Contains

func Contains[T comparable](array []T, element T) bool

func DexMiddleware

func DexMiddleware(c *gin.Context)

func ExtractGroups

func ExtractGroups(user *identitymodels.User) ([]string, error)

Function extracts groups from user object

Types

This section is empty.

Jump to

Keyboard shortcuts

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