authentication

package
v0.7.0 Latest Latest
Warning

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

Go to latest
Published: Jul 19, 2023 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// UserKey - the key for user string in context.
	UserKey = "user"
	// GroupsKey - the key for groups slice of strings in context.
	GroupsKey = "groups"
)

Variables

This section is empty.

Functions

func Authentication

func Authentication(clusterAPIURL string, clusterAPICABundle []byte) gin.HandlerFunc

Authentication middleware.

Types

This section is empty.

Jump to

Keyboard shortcuts

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