middlewares

package
v0.0.0-...-824b32f Latest Latest
Warning

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

Go to latest
Published: Feb 5, 2021 License: GPL-3.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AuthMiddleware

func AuthMiddleware(c *fiber.Ctx) error

AuthMiddleware validates authorization header against tokens database

func AuthPrivilegedMiddleware

func AuthPrivilegedMiddleware(c *fiber.Ctx) error

AuthPrivilegedMiddleware verfiies that token is privileged, as opposed to service tokens.

func ControlCallback

func ControlCallback(c *fiber.Ctx) error

ControlCallback performs callback injects the callback resource into request context if found

func ControlNamespace

func ControlNamespace(c *fiber.Ctx) error

ControlNamespace performs namespace access control and injects the namespace into request context if access is granted

func ControlPriorityGroup

func ControlPriorityGroup(c *fiber.Ctx) error

ControlPriorityGroup performs namespace access control and injects the namespace into request context if access is granted

func ControlRetryPolicy

func ControlRetryPolicy(c *fiber.Ctx) error

ControlRetryPolicy performs namespace access control and injects the namespace into request context if access is granted

func ControlService

func ControlService(c *fiber.Ctx) error

ControlService performs service access control checks and injects the service into request context if access is granted

Types

This section is empty.

Jump to

Keyboard shortcuts

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