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.
Click to show internal directories.
Click to hide internal directories.