keys

package
v2.2.0 Latest Latest
Warning

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

Go to latest
Published: Jun 21, 2026 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Overview

Package keys implements the JWKS (JSON Web Key Set) endpoint plugin.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Plugin

type Plugin struct {
	// contains filtered or unexported fields
}

Plugin serves the JWKS endpoint.

func New

func New(ctx *storm.PluginContext) *Plugin

New creates a new Keys plugin from a PluginContext.

func NewWithStore

func NewWithStore(store storm.KeyStore) *Plugin

NewWithStore creates a new Keys plugin with an explicit KeyStore.

func (*Plugin) Category

func (p *Plugin) Category() storm.PluginCategory

Category returns CategoryCore — JWKS is a required OIDC endpoint.

func (*Plugin) Contribute

func (p *Plugin) Contribute(ctx context.Context, cfg *protocol.DiscoveryConfiguration)

Contribute returns the discovery fields for the JWKS endpoint.

func (*Plugin) Name

func (p *Plugin) Name() string

Name returns the plugin name.

func (*Plugin) Register

func (p *Plugin) Register(r chi.Router)

Register installs the JWKS route.

func (*Plugin) Requires

func (p *Plugin) Requires() []string

Requires returns the storage dependencies.

Jump to

Keyboard shortcuts

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