pasetomiddleware

package
v0.0.0-...-836e728 Latest Latest
Warning

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

Go to latest
Published: Oct 6, 2022 License: MIT Imports: 9 Imported by: 0

Documentation

Overview

Package pasetomiddleware defines middleware to verify PASETO token with required claims

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrAuthHeaderMissing = errors.New("authorization header is required")
)

Functions

func PASETO

func PASETO(c *gin.Context)

Types

type GenericAuthHeaders

type GenericAuthHeaders struct {
	Authorization string
}

Jump to

Keyboard shortcuts

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