We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c3af723 commit dc13a15Copy full SHA for dc13a15
pkg/fibercommon/jwtmiddleware/jwtmiddleware_test.go
@@ -142,11 +142,6 @@ func setupTestApp(jwkSetURLs ...string) *fiber.App {
142
return app
143
}
144
145
-// setupTokenClaims creates token claims and sets them in the context.
146
-func setupTokenClaims(c *fiber.Ctx, claims *tokenclaims.Token) {
147
- c.Locals(TokenClaimsKey, claims)
148
-}
149
-
150
// makeToken is a helper function to create a Token with the given asset and permissions.
151
func makeToken(asset string, permissions []string) *tokenclaims.Token {
152
token := &tokenclaims.Token{
0 commit comments