Skip to content

Commit

Permalink
Add json tags
Browse files Browse the repository at this point in the history
  • Loading branch information
mgyongyosi committed Jan 14, 2025
1 parent 7a03917 commit 7f5f87c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions authn/verifier.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,10 @@ const (

type Claims[T any] struct {
jwt.Claims
Rest T
Rest T `json:",inline"`

// The original raw token
token string
token string `json:"-"`
}

type Verifier[T any] interface {
Expand Down

0 comments on commit 7f5f87c

Please sign in to comment.