Tags: appleboy/gin-jwt
Tags
refactor: adopt jwt.MapClaims to replace custom MapClaims type across… … codebase (#342) - Remove the custom `MapClaims` type definition - Replace `MapClaims` with `jwt.MapClaims` in `PayloadFunc`, `GetClaimsFromJWT`, `ExtractClaims`, and `ExtractClaimsFromToken` functions - Update test cases to use `jwt.MapClaims` instead of the custom `MapClaims` - Update `ConvertClaims` function to accept `jwt.MapClaims` Signed-off-by: appleboy <appleboy.tw@gmail.com>
chore: update dependencies to latest versions - Update `sonic` library from `v1.10.1` to `v1.10.2` - Update `iasm` library from `v0.9.0` to `v0.9.1` - Update `mimetype` library from `v1.4.2` to `v1.4.3` - Update `validator` library from `v10.15.4` to `v10.17.0` - Update `cpuid` library from `v2.2.5` to `v2.2.6` - Update `go-urn` library from `v1.2.4` to `v1.3.0` - Update `go-isatty` library from `v0.0.19` to `v0.0.20` - Update `go-toml` library from `v2.1.0` to `v2.1.1` - Update `go/codec` library from `v1.2.11` to `v1.2.12` - Update `x/arch` library from `v0.5.0` to `v0.7.0` - Update `x/crypto` library from `v0.13.0` to `v0.18.0` - Update `x/net` library from `v0.15.0` to `v0.20 Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
PreviousNext