We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 62e504c commit 1378353Copy full SHA for 1378353
token.go
@@ -21,8 +21,8 @@ type VerificationKey interface {
21
}
22
23
// VerificationKeySet is a set of public or secret keys. It is used by the parser to verify a token.
24
-type VerificationKeySet struct {
25
- Keys []VerificationKey
+type VerificationKeySet[T VerificationKey] struct {
+ Keys []T
26
27
28
// Token represents a JWT Token. Different fields will be used depending on
0 commit comments