You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
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>
1 year ago
..
main_test.go Implement FSFE REUSE for golang files (#21840) 2 years ago
oauth2.go Improve utils of slices (#22379) 1 year ago
oauth2_test.go Implement FSFE REUSE for golang files (#21840) 2 years ago
session.go Implement FSFE REUSE for golang files (#21840) 2 years ago
source.go Implement FSFE REUSE for golang files (#21840) 2 years ago
source_test.go Implement FSFE REUSE for golang files (#21840) 2 years ago
token.go Support scoped access tokens (#20908) 1 year ago
token_scope.go Add scopes to API to create token and display them (#22989) 1 year ago
token_scope_test.go Support scoped access tokens (#20908) 1 year ago
token_test.go Implement FSFE REUSE for golang files (#21840) 2 years ago
twofactor.go Replace fmt.Sprintf with hex.EncodeToString (#21960) 2 years ago
webauthn.go Replace deprecated Webauthn library (#22400) 1 year ago
webauthn_test.go Replace deprecated Webauthn library (#22400) 1 year ago