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 11package candishared
22
3- import "github.com/golang-jwt/jwt"
3+ import "github.com/golang-jwt/jwt/v5 "
44
55// TokenClaim for token claim data
66type 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"`
1010}
Original file line number Diff line number Diff line change 11module github.com/golangid/candi
22
3- go 1.23
3+ go 1.23.3
44
55require (
66 github.com/IBM/sarama v1.43.3
77 github.com/gertd/go-pluralize v0.2.1
88 github.com/go-chi/chi/v5 v5.1.0
99 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
1111 github.com/golangid/candi-plugin/task-queue-worker v0.0.0-20241022081437-59f56be28160
1212 github.com/golangid/gojsonschema v0.0.1
1313 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
3131github.com/go-playground/universal-translator v0.18.1 /go.mod h1:xekY+UJKNuX9WP91TpwSH2VMlDf28Uj24BCp08ZFTUY =
3232github.com/go-playground/validator/v10 v10.11.2 h1:q3SHpufmypg+erIExEKUmsgmhDTyhcJ38oeKGACXohU =
3333github.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 =
3636github.com/golang/freetype v0.0.0-20170609003504-e2365dfdc4a0 /go.mod h1:E/TSTwGwJL78qG/PmXZO1EjYhfJinVAhrmmHX6Z8B9k =
3737github.com/golang/snappy v0.0.4 h1:yAGX7huGHXlcLOEtBnF4w7FQwA26wojNCwOYAEhLjQM =
3838github.com/golang/snappy v0.0.4 /go.mod h1:/XxbfmMg8lxefKM7IXC3fBNl/7bRcc72aCRzEWrmP2Q =
You can’t perform that action at this time.
0 commit comments