tokens

package
v1.8.1 Latest Latest
Warning

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

Go to latest
Published: Oct 5, 2022 License: Apache-2.0 Imports: 25 Imported by: 0

Documentation

Index

Constants

View Source
const PluginName = "tokens"

Variables

View Source
var AccessStrategies = map[string]func(*plugins.MutablePluginContext) access.GenerateUserTokenAccess{
	config_access.StaticType: func(context *plugins.MutablePluginContext) access.GenerateUserTokenAccess {
		return access.NewStaticGenerateUserTokenAccess(context.Config().Access.Static.GenerateUserToken)
	},
}

We declare AccessStrategies and not into Runtime because it's a plugin.

View Source
var AdminTokenKey = model.ResourceKey{
	Name: "admin-user-token",
}

Functions

func NewAdminTokenBootstrap

func NewAdminTokenBootstrap(issuer issuer.UserTokenIssuer, resManager manager.ResourceManager, cpCfg kuma_cp.Config) component.Component

func UserTokenAuthenticator

func UserTokenAuthenticator(validator issuer.UserTokenValidator) authn.Authenticator

Types

This section is empty.

Directories

Path Synopsis
cli
ws

Jump to

Keyboard shortcuts

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