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 Refactor timeutil package (#28623) 2023-12-28 10:09:57 +00:00
auth_token.go
auth.go Unify user update methods (#28733) 2024-02-04 13:29:09 +00:00
basic.go
group.go
httpsign.go Use db.Find instead of writing methods for every object (#28084) 2023-11-24 03:49:41 +00:00
interface.go
main_test.go
oauth2.go Deprecate query string auth tokens (#28390) 2023-12-12 03:48:53 +00:00
reverseproxy.go
session.go
signin.go Use db.Find instead of writing methods for every object (#28084) 2023-11-24 03:49:41 +00:00
source.go
sspi.go Fix SSPI user creation (#28948) 2024-01-27 09:27:34 +00:00
sspiauth_posix.go
sspiauth_windows.go
sync.go Use db.Find instead of writing methods for every object (#28084) 2023-11-24 03:49:41 +00:00