0
0
mirror of https://github.com/go-gitea/gitea.git synced 2024-12-14 05:24:03 +01:00
gitea/services/auth
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
..
source Refactor JWT secret generating & decoding code (#29172) 2024-02-16 15:18:30 +00:00
auth_test.go
auth_token_test.go
auth_token.go
auth.go
basic.go
group.go
httpsign.go
interface.go
main_test.go
oauth2.go
reverseproxy.go
session.go
signin.go
source.go
sspi.go
sspiauth_posix.go
sspiauth_windows.go
sync.go