You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The example for Token.New() actually demonstrates Token.NewWithClaims(). It should be demonstrating Token.New().
It additionally demonstrates signing, which I guess is ok but it seems out of scope, given that the signing example can just be part of the documentation for that method ...
The text was updated successfully, but these errors were encountered:
The example for Token.New() actually demonstrates Token.NewWithClaims(). It should be demonstrating Token.New().
It additionally demonstrates signing, which I guess is ok but it seems out of scope, given that the signing example can just be part of the documentation for that method ...
Which example are you exactly referring to? The ones in example_test.go use NewWithClaims, but are also named in this way.
The example for Token.New() actually demonstrates Token.NewWithClaims(). It should be demonstrating Token.New().
It additionally demonstrates signing, which I guess is ok but it seems out of scope, given that the signing example can just be part of the documentation for that method ...
The text was updated successfully, but these errors were encountered: