token

package
v0.0.10 Latest Latest
Warning

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

Go to latest
Published: Nov 5, 2021 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewHandler

func NewHandler(opts Options) (*handler, error)

Types

type Options

type Options struct {
	UserHandler       models.UserGetter
	IssuerHandler     models.IssuerGetter
	PrivateKeyHandler models.PrivateKeyGetter
	SigningMethod     jwa.SignatureAlgorithm
}

func (Options) Validate

func (opts Options) Validate() error

Jump to

Keyboard shortcuts

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