0
0
Fork 0
mirror of https://github.com/go-gitea/gitea synced 2024-11-26 15:02:56 +01:00
gitea/services/auth/source
wxiaoguang 45c15387b2
Refactor JWT secret generating & decoding code (#29172)
Old code is not consistent for generating & decoding the JWT secrets.

Now, the callers only need to use 2 consistent functions:
NewJwtSecretWithBase64 and DecodeJwtSecretBase64

And remove a non-common function Base64FixedDecode from util.go
2024-02-16 15:18:30 +00:00
..
db Reduce usage of db.DefaultContext (#27073) 2023-09-14 17:09:32 +00:00
ldap Unify user update methods (#28733) 2024-02-04 13:29:09 +00:00
oauth2 Refactor JWT secret generating & decoding code (#29172) 2024-02-16 15:18:30 +00:00
pam Reduce usage of db.DefaultContext (#27073) 2023-09-14 17:09:32 +00:00
smtp Reduce usage of db.DefaultContext (#27073) 2023-09-14 17:09:32 +00:00
sspi Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00
source_group_sync.go Reduce usage of db.DefaultContext (#27073) 2023-09-14 17:09:32 +00:00