middleware

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: May 17, 2023 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const AzureAdJwtKeysUrl = "https://login.microsoftonline.com/common/discovery/v2.0/keys"

Variables

This section is empty.

Functions

func AddJwtBearer

func AddJwtBearer(next echo.HandlerFunc, config *config.AppConfig) echo.HandlerFunc

Adds Jwt Bearer authentication to the request

func EventGridWebHookSubscriptionValidation

func EventGridWebHookSubscriptionValidation() echo.MiddlewareFunc

EventGridSubscriptionValidationMiddleware is a middleware that validates the event grid subscription It identifies the event grid subscription validation request. If the request is a validation request it returns the validation response. If the request is not a validation request, it continues to the next handler.

Types

This section is empty.

Jump to

Keyboard shortcuts

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