gitea/services/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
..
source Refactor jwt.StandardClaims to RegisteredClaims (#18344) 2022-01-20 22:52:56 +01:00
auth.go format with gofumpt (#18184) 2022-01-20 18:46:10 +01:00
auth_test.go format with gofumpt (#18184) 2022-01-20 18:46:10 +01:00
basic.go format with gofumpt (#18184) 2022-01-20 18:46:10 +01:00
group.go Move user related model into models/user (#17781) 2021-11-24 17:49:20 +08:00
interface.go Move user related model into models/user (#17781) 2021-11-24 17:49:20 +08:00
oauth2.go Refactor jwt.StandardClaims to RegisteredClaims (#18344) 2022-01-20 22:52:56 +01:00
placeholder.go
reverseproxy.go format with gofumpt (#18184) 2022-01-20 18:46:10 +01:00
session.go format with gofumpt (#18184) 2022-01-20 18:46:10 +01:00
signin.go Refactor auth package (#17962) 2022-01-02 21:12:35 +08:00
source.go Refactor auth package (#17962) 2022-01-02 21:12:35 +08:00
sspi_windows.go Refactor auth package (#17962) 2022-01-02 21:12:35 +08:00
sync.go Refactor auth package (#17962) 2022-01-02 21:12:35 +08:00