-
Notifications
You must be signed in to change notification settings - Fork 68
Personal Sessions: add create, list, get, revoke, regenerate Admin APIs #5141
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from 1 commit
Commits
Show all changes
20 commits
Select commit
Hold shift + click to select a range
34b3462
storage: introduce find_active_for_session for PATs
reivilibre 98c765c
storage: include PATs alongside personal sessions
reivilibre 353d234
When revoking a personal session, also revoke its PAT
reivilibre 01c89cd
Delete owned PATs & personal sessions when pruning OAuth2 clients
reivilibre 2e5b386
Add personal session data models to admin API
reivilibre 1030ec9
Add personal sessions admin API
reivilibre 4e70f83
Add Admin API to regenerate a personal session (getting a new PAT)
reivilibre 1fc8145
drive-by clippy fixes
reivilibre 30abb7c
drive-by formatting fixes
reivilibre 4863026
drive-by update.sh chmod +x
reivilibre 78b010d
find_active_by_session: take &PersonalSession
reivilibre 52c04c1
Add `expires` filter to personal sessions list
reivilibre ba9fc35
Make `expires_in` u32 and (on regenerate) not default to the same as …
reivilibre 6102a4b
Use Option<Ulid> in schemars
reivilibre cc57e33
axum_extra: enable `query` feature flag
reivilibre d516b3d
Add `scope` filter to personal sessions list
reivilibre a0c5583
fixup! Make `expires_in` u32 and (on regenerate) not default to the s…
reivilibre db3dcce
use axum_extract's version of Query everywhere
reivilibre 8fb0caf
fixup! Add `expires` filter to personal sessions list
reivilibre dda3a49
(update JSONSchema)
reivilibre File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
14 changes: 14 additions & 0 deletions
14
...rage-pg/.sqlx/query-2a61003da3655158e6a261d91fdff670f1b4ba3c56605c53e2b905d7ec38c8be.json
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
14 changes: 14 additions & 0 deletions
14
...rage-pg/.sqlx/query-dca9b361c4409b14498b85f192b0034201575a49e0240ac6715b55ad8d381d0e.json
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Neat.