# README
JWT Middleware for Go-Json-Rest
This is a middleware for Go-Json-Rest.
It uses jwt-go to provide a jwt authentication middleware. It provides additional handler functions to provide the login api that will generate the token and an additional refresh handler that can be used to refresh tokens.
An example can be found in the Go-Json-Rest Examples repo.
# Functions
ExtractClaims allows to retrieve the payload.
# Structs
JWTMiddleware provides a Json-Web-Token authentication implementation.