1
0
Fork 0
forgejo/cmd
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.go format with gofumpt (#18184) 2022-01-20 18:46:10 +01:00
admin_auth_ldap.go
admin_auth_ldap_test.go format with gofumpt (#18184) 2022-01-20 18:46:10 +01:00
cert.go format with gofumpt (#18184) 2022-01-20 18:46:10 +01:00
cmd.go
convert.go
docs.go
doctor.go format with gofumpt (#18184) 2022-01-20 18:46:10 +01:00
dump.go format with gofumpt (#18184) 2022-01-20 18:46:10 +01:00
dump_repo.go format with gofumpt (#18184) 2022-01-20 18:46:10 +01:00
embedded.go format with gofumpt (#18184) 2022-01-20 18:46:10 +01:00
embedded_stub.go
generate.go
hook.go
hook_test.go
keys.go
mailer.go
manager.go format with gofumpt (#18184) 2022-01-20 18:46:10 +01:00
migrate.go
migrate_storage.go
restore_repo.go
serv.go Refactor jwt.StandardClaims to RegisteredClaims (#18344) 2022-01-20 22:52:56 +01:00
web.go format with gofumpt (#18184) 2022-01-20 18:46:10 +01:00
web_graceful.go
web_https.go
web_letsencrypt.go format with gofumpt (#18184) 2022-01-20 18:46:10 +01:00