jwthandler

package
v0.0.0-...-2cf4783 Latest Latest
Warning

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

Go to latest
Published: Dec 16, 2023 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Factory

func Factory(c *Config) (func(next http.Handler) http.Handler, error)

Types

type Config

type Config struct {
	Issuer             string
	CacheTTL           time.Duration
	SignatureAlgorithm validator.SignatureAlgorithm
	Audiences          []string
	ValidatorOptions   []validator.Option
	MiddlewareOptions  []jwtmiddleware.Option
}

Jump to

Keyboard shortcuts

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