//
pkg.gl
Category
github.com/DmitryLogunov/go-proxy-server
internal
http-server
middlewares
auth
package
0.0.0-20221127142612-ce777fa79a87
Repository:
https://github.com/dmitrylogunov/go-proxy-server.git
Documentation:
pkg.go.dev
Overview
Versions
1
Dependencies
6
Dependents
1
Files
80 SLOC
#
Functions
NoneAuthenticate
NoneAuthenticate handles HTTP request without authentication.
ValidateJWT
ValidateJWT checks if JWT token exists and is correct.
ValidateToken
ValidateToken checks if token (as a secret string from environment variable) exists and is correct.
#
Structs
Exception
Exception ...