incluster

package
v0.9.1 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const (
	GroupKey             contextKey = "group"
	PreferredUserNameKey contextKey = "preferred_username"
	NameKey              contextKey = "name"
)

Variables

This section is empty.

Functions

func ValidateJWT

func ValidateJWT(w http.ResponseWriter, r *http.Request) (*http.Request, bool)

ValidateJWT checks if the request has a valid JWT token with the required groups.

Types

This section is empty.

Jump to

Keyboard shortcuts

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