gitea/routers/api/v1
Lunny Xiao 6526733a58
Let web and API routes have different auth methods group (#19168)
* remove the global methods but create dynamiclly

* Fix lint

* Fix windows lint

* Fix windows lint

* some improvements

Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
2022-03-28 12:46:28 +08:00
..
admin Add `ContextUser` to http request context (#18798) 2022-03-26 17:04:22 +08:00
misc
notify Renamed ctx.User to ctx.Doer. (#19161) 2022-03-22 15:03:22 +08:00
org Add `ContextUser` to http request context (#18798) 2022-03-26 17:04:22 +08:00
repo Set the default branch for repositories generated from templates (#19136) 2022-03-27 03:56:28 +01:00
settings
swagger
user Add `ContextUser` to http request context (#18798) 2022-03-26 17:04:22 +08:00
utils Use `ctx` instead of `db.DefaultContext` in some packages(routers/services/modules) (#19163) 2022-03-22 16:22:54 +01:00
api.go Let web and API routes have different auth methods group (#19168) 2022-03-28 12:46:28 +08:00
auth.go Let web and API routes have different auth methods group (#19168) 2022-03-28 12:46:28 +08:00
auth_windows.go Let web and API routes have different auth methods group (#19168) 2022-03-28 12:46:28 +08:00