middleware

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Sep 12, 2025 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var SignatureAlgorithms = []jose.SignatureAlgorithm{jose.RS256}

Functions

func CreateMiddlewares

func CreateMiddlewares() []func(http.Handler) http.Handler

func StoreAuthHeader

func StoreAuthHeader() func(http.Handler) http.Handler

StoreAuthHeader stores the Authorization header within the request context

func StoreSpiffeHeader

func StoreSpiffeHeader() func(http.Handler) http.Handler

func StoreWebToken

func StoreWebToken() func(http.Handler) http.Handler

StoreWebToken retrieves the actual JWT Token within the Authorization header, and it stores it in the context as a struct

Types

This section is empty.

Jump to

Keyboard shortcuts

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