1
0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo.git synced 2024-11-29 09:31:11 -05:00
forgejo/services/auth/source/oauth2
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
..
assert_interface_test.go Refactor auth package (#17962) 2022-01-02 21:12:35 +08:00
init.go Refactor auth package (#17962) 2022-01-02 21:12:35 +08:00
jwtsigningkey.go format with gofumpt (#18184) 2022-01-20 18:46:10 +01:00
providers.go format with gofumpt (#18184) 2022-01-20 18:46:10 +01:00
providers_base.go Add microsoft oauth2 providers (#16544) 2021-08-05 21:11:08 -04:00
providers_custom.go Add Option to synchronize Admin & Restricted states from OIDC/OAuth2 along with Setting Scopes (#16766) 2021-12-14 16:37:11 +08:00
providers_openid.go format with gofumpt (#18184) 2022-01-20 18:46:10 +01:00
providers_simple.go format with gofumpt (#18184) 2022-01-20 18:46:10 +01:00
source.go Refactor auth package (#17962) 2022-01-02 21:12:35 +08:00
source_authenticate.go Move user related model into models/user (#17781) 2021-11-24 17:49:20 +08:00
source_callout.go format with gofumpt (#18184) 2022-01-20 18:46:10 +01:00
source_name.go Add microsoft oauth2 providers (#16544) 2021-08-05 21:11:08 -04:00
source_register.go Refactor auth package (#17962) 2022-01-02 21:12:35 +08:00
store.go Reset Session ID on login (#18018) 2021-12-20 22:12:26 +08:00
token.go Refactor jwt.StandardClaims to RegisteredClaims (#18344) 2022-01-20 22:52:56 +01:00
urlmapping.go Add microsoft oauth2 providers (#16544) 2021-08-05 21:11:08 -04:00