peel

package module
v0.0.0-...-696c99f Latest Latest
Warning

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

Go to latest
Published: Feb 22, 2024 License: GPL-3.0 Imports: 3 Imported by: 0

Documentation

Overview

peel is a package for verifying id tokens using JWTMiddlewareHMAC. Daniel Chahla @dchahla version v1.0.0

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Time

func Time(next http.Handler) http.Handler

Time is a middleware that logs requests.

Types

type MiddlewareFunc

type MiddlewareFunc func(http.Handler) http.Handler

MiddlewareFunc is a type that represents a middleware function.

func JWTMiddlewareHMAC

func JWTMiddlewareHMAC(audience string, secret string) MiddlewareFunc

JWTMiddleware is a middleware that verifies JWT tokens. Takes in audience string, secret string

Jump to

Keyboard shortcuts

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