package
0.0.0-20230317024610-88dbfc45bbd1
Repository: https://github.com/gitcollabcode/gitcollab.git
Documentation: pkg.go.dev
# README
jwt
# Functions
Create a new JWT for the frontend (NOT GITHUB).
Get the time a given JWT expires at.
Retrieve JWT from the header, return empty string if no JWT.
Insert a JWT to the blacklist table.
Middleware to check if a given JWT is blacklisted All private routes with JWT headers should pass through this middleware.
No description provided by the author
# Variables
No description provided by the author
No description provided by the author
# Structs
No description provided by the author