GenerateToken generates the base64 encoded JSON Web Token including the claims map provided and and expiration time.
Get attempts to retrieve the claims map for request. If there was an error decoding the JSON Web Token.
Middleware the main middleware function. Use with negroni.HandlerFunc to apply middleware like so : n := negroni.Classic() n.Use(negroni.HandlerFunc(negroniJWT.Middleware))