swagger-api / swagger-api/swagger-ui
add methods for removing authorizations from the system (inverse of `preauthorize*`)
Open
Nobody has claimed this yet.
cat: auth
type: feature
- Dominant language
- JavaScript
- Stars
- 29k
- Forks
- 9.3k
- Avg merge
- 2d 23h
- Merged PRs (30d)
- 25
Description
add inverse to preauthorizeApiKey method, to remove a key when needed.
suggestion:
ui.logoutApiKey ('MyAuth')
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating the existing preauthorizeApiKey method and any related authorization methods or tests. Determine how the suggested ui.logoutApiKey('MyAuth') should remove the corresponding key, then verify that the authorization is no longer present through the relevant UI behavior or tests.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- authentication, frontend
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100