jwks

package
v1.5.1 Latest Latest
Warning

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

Go to latest
Published: Jan 18, 2022 License: Apache-2.0 Imports: 13 Imported by: 0

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

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.

Jump to

Keyboard shortcuts

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