Versions in this module Expand all Collapse all v1 v1.0.0 Mar 21, 2026 Changes in this version + type BearerHookID string + const HookIDBearerAuth + const HookIDBearerAuthOptional + func (id BearerHookID) String() string + type BearerPlugin struct + func New(config BearerPluginConfig) *BearerPlugin + func (p *BearerPlugin) AuthMiddleware() func(http.Handler) http.Handler + func (p *BearerPlugin) Close() error + func (p *BearerPlugin) Config() any + func (p *BearerPlugin) Hooks() []models.Hook + func (p *BearerPlugin) Init(ctx *models.PluginContext) error + func (p *BearerPlugin) Metadata() models.PluginMetadata + func (p *BearerPlugin) OnConfigUpdate(config *models.Config) error + func (p *BearerPlugin) OptionalAuthMiddleware() func(http.Handler) http.Handler + type BearerPluginConfig struct + Enabled bool + HeaderName string + func (config *BearerPluginConfig) ApplyDefaults()