File tree Expand file tree Collapse file tree 3 files changed +8
-8
lines changed Expand file tree Collapse file tree 3 files changed +8
-8
lines changed Original file line number Diff line number Diff line change 1
1
package candishared
2
2
3
- import "github.com/golang-jwt/jwt"
3
+ import "github.com/golang-jwt/jwt/v5 "
4
4
5
5
// TokenClaim for token claim data
6
6
type TokenClaim struct {
7
- jwt.StandardClaims
8
- Role string `json:"role"`
9
- Additional any `json:"additional"`
7
+ jwt.RegisteredClaims
8
+ Role string `json:"role"`
9
+ Additional any `json:"additional"`
10
10
}
Original file line number Diff line number Diff line change 1
1
module github.com/golangid/candi
2
2
3
- go 1.23
3
+ go 1.23.3
4
4
5
5
require (
6
6
github.com/IBM/sarama v1.43.3
7
7
github.com/gertd/go-pluralize v0.2.1
8
8
github.com/go-chi/chi/v5 v5.1.0
9
9
github.com/go-playground/validator/v10 v10.11.2
10
- github.com/golang-jwt/jwt v3 .2.2+incompatible
10
+ github.com/golang-jwt/jwt/v5 v5 .2.1
11
11
github.com/golangid/candi-plugin/task-queue-worker v0.0.0-20241022081437-59f56be28160
12
12
github.com/golangid/gojsonschema v0.0.1
13
13
github.com/golangid/graphql-go v0.0.9
Original file line number Diff line number Diff line change @@ -31,8 +31,8 @@ github.com/go-playground/universal-translator v0.18.1 h1:Bcnm0ZwsGyWbCzImXv+pAJn
31
31
github.com/go-playground/universal-translator v0.18.1 /go.mod h1:xekY+UJKNuX9WP91TpwSH2VMlDf28Uj24BCp08ZFTUY =
32
32
github.com/go-playground/validator/v10 v10.11.2 h1:q3SHpufmypg+erIExEKUmsgmhDTyhcJ38oeKGACXohU =
33
33
github.com/go-playground/validator/v10 v10.11.2 /go.mod h1:NieE624vt4SCTJtD87arVLvdmjPAeV8BQlHtMnw9D7s =
34
- github.com/golang-jwt/jwt v3 .2.2+incompatible h1:IfV12K8xAKAnZqdXVzCZ+TOjboZ2keLg81eXfW3O+oY =
35
- github.com/golang-jwt/jwt v3 .2.2+incompatible /go.mod h1:8pz2t5EyA70fFQQSrl6XZXzqecmYZeUEB8OUGHkxJ+I =
34
+ github.com/golang-jwt/jwt/v5 v5 .2.1 h1:OuVbFODueb089Lh128TAcimifWaLhJwVflnrgM17wHk =
35
+ github.com/golang-jwt/jwt/v5 v5 .2.1 /go.mod h1:pqrtFR0X4osieyHYxtmOUWsAWrfe1Q5UVIyoH402zdk =
36
36
github.com/golang/freetype v0.0.0-20170609003504-e2365dfdc4a0 /go.mod h1:E/TSTwGwJL78qG/PmXZO1EjYhfJinVAhrmmHX6Z8B9k =
37
37
github.com/golang/snappy v0.0.4 h1:yAGX7huGHXlcLOEtBnF4w7FQwA26wojNCwOYAEhLjQM =
38
38
github.com/golang/snappy v0.0.4 /go.mod h1:/XxbfmMg8lxefKM7IXC3fBNl/7bRcc72aCRzEWrmP2Q =
You can’t perform that action at this time.
0 commit comments