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
Don't pay too much attention to that.
The only reason to pass this in is for type reflection, since it supports maps and custom structs.
So it must know what this is.
jwt/example_test.go
Lines 77 to 99 in bc8bdca
if use pointer of
myCustomClaims
, can skip type assertionclaims, ok := token.Claims.(*MyCustomClaims)
What is the difference?
The text was updated successfully, but these errors were encountered: