forgejo/cmd
zeripath 44deae8f3d
Refactor jwt.StandardClaims to RegisteredClaims ()
* 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.go format with gofumpt () 2022-01-20 18:46:10 +01:00
admin_auth_ldap.go Refactor auth package () 2022-01-02 21:12:35 +08:00
admin_auth_ldap_test.go format with gofumpt () 2022-01-20 18:46:10 +01:00
cert.go format with gofumpt () 2022-01-20 18:46:10 +01:00
cmd.go Improve install code to avoid low-level mistakes. () 2021-12-01 15:50:01 +08:00
convert.go Improve install code to avoid low-level mistakes. () 2021-12-01 15:50:01 +08:00
docs.go Fix offBy1 errors () 2021-11-14 10:11:49 +02:00
doctor.go format with gofumpt () 2022-01-20 18:46:10 +01:00
dump.go format with gofumpt () 2022-01-20 18:46:10 +01:00
dump_repo.go format with gofumpt () 2022-01-20 18:46:10 +01:00
embedded.go format with gofumpt () 2022-01-20 18:46:10 +01:00
embedded_stub.go Add bundle download for repository () 2021-08-24 11:47:09 -05:00
generate.go Add asymmetric JWT signing () 2021-06-17 23:56:46 +02:00
hook.go Make Requests Processes and create process hierarchy. Associate OpenRepository with context. () 2021-11-30 20:06:32 +00:00
hook_test.go Add agit flow support in gitea () 2021-07-28 17:42:56 +08:00
keys.go Second attempt at preventing zombies () 2021-07-14 10:43:13 -04:00
mailer.go Improve install code to avoid low-level mistakes. () 2021-12-01 15:50:01 +08:00
manager.go format with gofumpt () 2022-01-20 18:46:10 +01:00
migrate.go Improve install code to avoid low-level mistakes. () 2021-12-01 15:50:01 +08:00
migrate_storage.go Some repository refactors () 2021-12-12 23:48:20 +08:00
restore_repo.go Improve install code to avoid low-level mistakes. () 2021-12-01 15:50:01 +08:00
serv.go Refactor jwt.StandardClaims to RegisteredClaims () 2022-01-20 22:52:56 +01:00
web.go format with gofumpt () 2022-01-20 18:46:10 +01:00
web_graceful.go Make SSL cipher suite configurable () 2021-11-20 01:12:43 -05:00
web_https.go Add user settings key/value DB table () 2021-11-22 04:47:23 -05:00
web_letsencrypt.go format with gofumpt () 2022-01-20 18:46:10 +01:00