Skip to content

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

@XMRHRX

Description

@XMRHRX

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.

Metadata

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