gitea/routers/web
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
..
admin format with gofumpt (#18184) 2022-01-20 18:46:10 +01:00
auth Refactor jwt.StandardClaims to RegisteredClaims (#18344) 2022-01-20 22:52:56 +01:00
dev Move user related model into models/user (#17781) 2021-11-24 17:49:20 +08:00
events Refactor auth package (#17962) 2022-01-02 21:12:35 +08:00
explore format with gofumpt (#18184) 2022-01-20 18:46:10 +01:00
feed Propagate context and ensure git commands run in request context (#17868) 2022-01-19 23:26:57 +00:00
org format with gofumpt (#18184) 2022-01-20 18:46:10 +01:00
repo format with gofumpt (#18184) 2022-01-20 18:46:10 +01:00
user format with gofumpt (#18184) 2022-01-20 18:46:10 +01:00
base.go format with gofumpt (#18184) 2022-01-20 18:46:10 +01:00
goget.go Refactor HTTP request context (#17979) 2021-12-15 14:59:57 +08:00
home.go Refactor auth package (#17962) 2022-01-02 21:12:35 +08:00
metrics.go
nodeinfo.go Add nodeinfo endpoint for federation purposes (#16953) 2021-09-28 01:38:06 +02:00
swagger_json.go
web.go format with gofumpt (#18184) 2022-01-20 18:46:10 +01:00