Documentation ¶
Overview ¶
Package jwks handles returning JSON encoded information about the server's encryption keys. See https://tools.ietf.org/html/rfc75170 for information about the server.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Controller ¶
type Controller struct {
// contains filtered or unexported fields
}
Controller holds all the pieces necessary to show the jwks encoded keys.
func New ¶
func New(ctx context.Context, db *database.Database, cacher cache.Cacher, h *render.Renderer) (*Controller, error)
New creates a new jwks *Controller, and returns it.
func (*Controller) HandleIndex ¶
func (c *Controller) HandleIndex() http.Handler
HandleIndex returns an http.Handler that handles jwks GET requests.
Click to show internal directories.
Click to hide internal directories.