Baike.dev
All toolsAI codingTrendingOpen sourceNewsSubmit
Log in
Back to tool/Back to issues
#334·jwt

`GetID` in the `Claims` interface ?

Author: zaaknCreated Aug 13, 2023Updated Jan 28, 2026
Labelsnext

Is there a special consideration for the absence of the GetID() function?

https://datatracker.ietf.org/doc/html/rfc7519#section-4.1.7

https://github.com/golang-jwt/jwt/blob/8aa5d6cef84fa859f10fed5db50bee48efc5f160/claims.go#L9-L16

Source: golang-jwt/jwt

View original on GitHubView discussion on GitHub