mirror of
1
Fork 0
forgejo/routers/api/v1/user
zeripath d2128b44f7
Add scopes to API to create token and display them (#22989)
The API to create tokens is missing the ability to set the required
scopes for tokens, and to show them on the API and on the UI.

This PR adds this functionality.

Signed-off-by: Andrew Thornton <art27@cantab.net>
2023-02-20 15:28:44 -06:00
..
app.go Add scopes to API to create token and display them (#22989) 2023-02-20 15:28:44 -06:00
email.go Move `convert` package to services (#22264) 2022-12-29 10:57:15 +08:00
follower.go Add context cache as a request level cache (#22294) 2023-02-15 21:37:34 +08:00
gpg_key.go Move `convert` package to services (#22264) 2022-12-29 10:57:15 +08:00
helper.go Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00
key.go Add context cache as a request level cache (#22294) 2023-02-15 21:37:34 +08:00
repo.go Rename `repo.GetOwner` to `repo.LoadOwner` (#22967) 2023-02-18 20:11:03 +08:00
settings.go Move `convert` package to services (#22264) 2022-12-29 10:57:15 +08:00
star.go Move `convert` package to services (#22264) 2022-12-29 10:57:15 +08:00
user.go Add context cache as a request level cache (#22294) 2023-02-15 21:37:34 +08:00
watch.go Move `convert` package to services (#22264) 2022-12-29 10:57:15 +08:00