auth

package
v1.4.0 Latest Latest
Warning

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

Go to latest
Published: Jul 27, 2023 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Authorize

func Authorize(f jwt.Keyfunc, opts ...Option) middleware.Middleware

Types

type Option

type Option func(*option)

func Claims

func Claims(f func() jwt.Claims) Option

func SigningMethod

func SigningMethod(method jwt.SigningMethod) Option

Jump to

Keyboard shortcuts

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