Skip to content

Replace IdentityHandler's parameter jwt.MapClaims with MapClaims #341

Open
@XMRHRX

Description

Hi,

I noticed type MapClaims of package "gopkg.in/dgrijalva/jwt-go.v3" is used by GinJWTMiddleware.IdentityHandler's parameter, which expose the dependency of gopkg.in/dgrijalva/jwt-go.v3.

I think it would be cleaner that if we replace the dependency with "github.com/appleboy/gin-jwt"'s MapClaims.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions