auth

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Nov 13, 2022 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const TokenHeaderName = "X-Auth-Token"

TokenHeaderName is the header name to set authentication token.

Variables

This section is empty.

Functions

func Middleware

func Middleware(authorizedTokens []string) echo.MiddlewareFunc

Middleware middleware check for an authorized token.

Types

This section is empty.

Jump to

Keyboard shortcuts

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