mirror of https://github.com/golang-jwt/jwt.git
docs: fix comment in KeyFunc
This commit is contained in:
parent
c80de55abe
commit
0cb4fa15e3
2
token.go
2
token.go
|
@ -11,7 +11,7 @@ import (
|
|||
// Token. This allows you to use properties in the Header of the token (such as
|
||||
// `kid`) to identify which key to use.
|
||||
//
|
||||
// The returned interface{} may be a single key or a PublicKeyset containing
|
||||
// The returned interface{} may be a single key or a VerificationKeySet containing
|
||||
// multiple keys.
|
||||
type Keyfunc func(*Token) (interface{}, error)
|
||||
|
||||
|
|
Loading…
Reference in New Issue