0
0
mirror of https://github.com/go-gitea/gitea.git synced 2025-02-01 04:51:06 +01:00
gitea/services/auth
John Olheiser 5e36024105
Require repo scope for PATs for private repos and basic authentication (#24362)
> The scoped token PR just checked all API routes but in fact, some web
routes like `LFS`, git `HTTP`, container, and attachments supports basic
auth. This PR added scoped token check for them.

---------

Signed-off-by: jolheiser <john.olheiser@gmail.com>
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
2023-04-26 19:24:03 -05:00
..
source Refactor config provider (#24245) 2023-04-25 23:06:39 +08:00
auth_test.go
auth.go Refactor cookie (#24107) 2023-04-13 15:45:33 -04:00
basic.go Require repo scope for PATs for private repos and basic authentication (#24362) 2023-04-26 19:24:03 -05:00
group.go
httpsign.go
interface.go
middleware.go Move code from module to service (#24287) 2023-04-23 16:44:05 -04:00
oauth2.go
reverseproxy.go Add context cache as a request level cache (#22294) 2023-02-15 21:37:34 +08:00
session.go
signin.go
source.go
sspi_windows.go Refactor cookie (#24107) 2023-04-13 15:45:33 -04:00
sync.go