Template
1
0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo synced 2024-11-30 22:06:11 +01:00
forgejo/models/auth
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
..
main_test.go Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00
oauth2.go Improve utils of slices (#22379) 2023-01-11 13:31:16 +08:00
oauth2_test.go Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00
session.go Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00
source.go Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00
source_test.go Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00
token.go Support scoped access tokens (#20908) 2023-01-17 15:46:03 -06:00
token_scope.go Add scopes to API to create token and display them (#22989) 2023-02-20 15:28:44 -06:00
token_scope_test.go Support scoped access tokens (#20908) 2023-01-17 15:46:03 -06:00
token_test.go Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00
twofactor.go Replace fmt.Sprintf with hex.EncodeToString (#21960) 2022-11-28 11:19:18 +00:00
webauthn.go Replace deprecated Webauthn library (#22400) 2023-01-11 21:51:00 -05:00
webauthn_test.go Replace deprecated Webauthn library (#22400) 2023-01-11 21:51:00 -05:00