Documentation ¶
Index ¶
Constants ¶
View Source
const ( Issuer = "Ittech24.co.uk" LoginScope = "authorization" PrivateKey = "somerandomshit" )
Security Constants
Variables ¶
This section is empty.
Functions ¶
func AuthenticateMiddleware ¶
func AuthenticateMiddleware(target http.HandlerFunc) http.Handler
func GenerateUserToken ¶
GenerateUserToken generates a jwt user token
func ValidateToken ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.