appleboy / gin-jwt

JWT Middleware for Gin framework
MIT License
2.73k stars 382 forks source link

feat(jwt): adds ParseOption to Parse method of jwt #303

Closed appleboy closed 1 year ago

appleboy commented 1 year ago

fix https://github.com/appleboy/gin-jwt/pull/287

Signed-off-by: Bo-Yi.Wu appleboy.tw@gmail.com

codecov-commenter commented 1 year ago

Codecov Report

Merging #303 (32331eb) into master (a35689c) will increase coverage by 0.17%. The diff coverage is 75.00%.

@@            Coverage Diff             @@
##           master     #303      +/-   ##
==========================================
+ Coverage   88.47%   88.64%   +0.17%     
==========================================
  Files           1        1              
  Lines         451      449       -2     
==========================================
- Hits          399      398       -1     
+ Misses         40       39       -1     
  Partials       12       12              
Flag Coverage Δ
go- 88.64% <75.00%> (+0.17%) :arrow_up:
go-1.16 88.64% <75.00%> (+0.17%) :arrow_up:
go-1.17 88.64% <75.00%> (+0.17%) :arrow_up:
go-1.18 88.64% <75.00%> (+0.17%) :arrow_up:
go-1.19 88.64% <75.00%> (+0.17%) :arrow_up:
macos-latest 88.64% <75.00%> (+0.17%) :arrow_up:
ubuntu-latest 88.64% <75.00%> (+0.17%) :arrow_up:

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
auth_jwt.go 88.64% <75.00%> (+0.17%) :arrow_up:

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.