constant

package
v1.0.2 Latest Latest
Warning

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

Go to latest
Published: Oct 31, 2025 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const (
	FlagConfigPath     = "config-path"
	EmptyRoleSentinel  = "__empty__"
	OAuth2ProviderList = "oauth2:provider:list"
)

Variables

View Source
var (
	ErrAuthFailed   = errors.New("auth failed")
	ErrNoPermission = errors.New("access forbidden")
	ErrLoginFailed  = errors.New("incorrect username or password")
)
View Source
var ProviderContextKey = providerContextKey{}
View Source
var RequestIDContextKey = requestIDContextKey{}
View Source
var UserContextKey = userContextKey{}

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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