bench-forgejo/routers
zeripath 44deae8f3d
Refactor jwt.StandardClaims to RegisteredClaims (#18344)
* Refactor jwt.StandardClaims to RegisteredClaims

go-jwt/jwt has deprecated the StandardClaims interface to use RegisteredClaims
instead. This PR migrates to use this new format.

Signed-off-by: Andrew Thornton <art27@cantab.net>

* Apply suggestions from code review

Co-authored-by: Gusted <williamzijl7@hotmail.com>

Co-authored-by: 6543 <6543@obermui.de>
Co-authored-by: Gusted <williamzijl7@hotmail.com>
2022-01-20 22:52:56 +01:00
..
api/v1 format with gofumpt (#18184) 2022-01-20 18:46:10 +01:00
common format with gofumpt (#18184) 2022-01-20 18:46:10 +01:00
install format with gofumpt (#18184) 2022-01-20 18:46:10 +01:00
private format with gofumpt (#18184) 2022-01-20 18:46:10 +01:00
utils A better go code formatter, and now make fmt can run in Windows (#17684) 2021-11-17 20:34:35 +08:00
web Refactor jwt.StandardClaims to RegisteredClaims (#18344) 2022-01-20 22:52:56 +01:00
init.go Move keys to models/asymkey (#17917) 2021-12-10 16:14:24 +08:00