Gf Jwt Save

GoFrame HTTP JWT middleware.

Project README

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

$ go get github.com/gogf/gf-jwt/v2

Import

import "github.com/gogf/gf-jwt/v2"

login

check user info

refresh token

logout

check user info again

Open Source Agenda is not affiliated with "Gf Jwt" Project. README Source: gogf/gf-jwt
Stars
109
Open Issues
2
Last Commit
1 month ago
Repository
License
MIT

Open Source Agenda Badge

Open Source Agenda Rating