security

package module
v0.0.0-...-510a835 Latest Latest
Warning

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

Go to latest
Published: Apr 11, 2024 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AuthMiddleware

func AuthMiddleware(c *gin.Context)

Types

type CustomClaims

type CustomClaims struct {
	ResourceAccess map[string]struct {
		Roles []string `json:"roles"`
	} `json:"resource_access"`
	jwt.StandardClaims
}

type FormattedSettings

type FormattedSettings struct {
	ManagerRole      string
	UserRole         string
	KeycloakClientId string
	KeycloakServer   string
	KeycloakJWKSURL  string
}

Jump to

Keyboard shortcuts

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