1
1
mirror of https://github.com/go-gitea/gitea synced 2024-12-23 09:04:26 +00:00
gitea/routers/web/auth
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
..
2fa.go Refactor auth package (#17962) 2022-01-02 21:12:35 +08:00
auth.go format with gofumpt (#18184) 2022-01-20 18:46:10 +01:00
linkaccount.go format with gofumpt (#18184) 2022-01-20 18:46:10 +01:00
main_test.go Refactor auth package (#17962) 2022-01-02 21:12:35 +08:00
oauth_test.go Support webauthn (#17957) 2022-01-14 16:03:31 +01:00
oauth.go Refactor jwt.StandardClaims to RegisteredClaims (#18344) 2022-01-20 22:52:56 +01:00
openid.go format with gofumpt (#18184) 2022-01-20 18:46:10 +01:00
password.go Refactor auth package (#17962) 2022-01-02 21:12:35 +08:00
webauthn.go format with gofumpt (#18184) 2022-01-20 18:46:10 +01:00