mirror of https://github.com/golang-jwt/jwt.git
Merge pull request #136 from bruston/keyfunc-typo
Fix typo in KeyFunc documentation
This commit is contained in:
commit
9b486c879b
2
token.go
2
token.go
|
@ -15,7 +15,7 @@ var TimeFunc = time.Now
|
|||
|
||||
// Parse methods use this callback function to supply
|
||||
// the key for verification. The function receives the parsed,
|
||||
// but unverified Token. This allows you to use propries in the
|
||||
// but unverified Token. This allows you to use properties in the
|
||||
// Header of the token (such as `kid`) to identify which key to use.
|
||||
type Keyfunc func(*Token) (interface{}, error)
|
||||
|
||||
|
|
Loading…
Reference in New Issue