https://github.com/gogf/gf-jwt
GoFrame HTTP JWT middleware.
https://github.com/gogf/gf-jwt
gf-jwt gf-plugin goframe golang-library golang-package jwt middleware
Last synced: 5 months ago
JSON representation
GoFrame HTTP JWT middleware.
- Host: GitHub
- URL: https://github.com/gogf/gf-jwt
- Owner: gogf
- License: mit
- Archived: true
- Created: 2019-03-14T12:45:34.000Z (over 6 years ago)
- Default Branch: v2
- Last Pushed: 2024-11-11T07:46:28.000Z (about 1 year ago)
- Last Synced: 2025-07-10T00:12:15.980Z (5 months ago)
- Topics: gf-jwt, gf-plugin, goframe, golang-library, golang-package, jwt, middleware
- Language: Go
- Homepage: https://goframe.org
- Size: 3.6 MB
- Stars: 119
- Watchers: 7
- Forks: 47
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# THIS REPOSITORY IS NO LONGER MAINTANED
The new repository can be found at: https://github.com/golang-jwt/jwt
# gf-jwt v2
This is a middleware for Gf framework.
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.
## Use
Download and install
```sh
$ go get github.com/gogf/gf-jwt/v2
```
Import
```go
import "github.com/gogf/gf-jwt/v2"
```




