-
-
Notifications
You must be signed in to change notification settings - Fork 4.2k
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
feat: improved user auth tokens #68148
Merged
Merged
Commits on Apr 17, 2024
-
Configuration menu - View commit details
-
Copy full SHA for a995b95 - Browse repository at this point
Copy the full SHA a995b95View commit details -
Configuration menu - View commit details
-
Copy full SHA for c9f1ce1 - Browse repository at this point
Copy the full SHA c9f1ce1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 696c845 - Browse repository at this point
Copy the full SHA 696c845View commit details -
Configuration menu - View commit details
-
Copy full SHA for fef4018 - Browse repository at this point
Copy the full SHA fef4018View commit details -
Configuration menu - View commit details
-
Copy full SHA for c68c59d - Browse repository at this point
Copy the full SHA c68c59dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 43fa3ce - Browse repository at this point
Copy the full SHA 43fa3ceView commit details -
Configuration menu - View commit details
-
Copy full SHA for ed60490 - Browse repository at this point
Copy the full SHA ed60490View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2255c62 - Browse repository at this point
Copy the full SHA 2255c62View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6516671 - Browse repository at this point
Copy the full SHA 6516671View commit details -
Configuration menu - View commit details
-
Copy full SHA for 67e87d0 - Browse repository at this point
Copy the full SHA 67e87d0View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6ceabf8 - Browse repository at this point
Copy the full SHA 6ceabf8View commit details -
Configuration menu - View commit details
-
Copy full SHA for 54abc5d - Browse repository at this point
Copy the full SHA 54abc5dView commit details -
Configuration menu - View commit details
-
Copy full SHA for fd768b7 - Browse repository at this point
Copy the full SHA fd768b7View commit details -
ref: read-once logic on apitoken
- Setting the plaintext values on the manager class is wrong and would cause issues when creating multiple instances of ApiToken. - it results in the plaintext value always being the latest instance of ApiToken that was created - moving this to the model fixes the issue - introduce setter functions for the plaintext token values - add docstrings - remove leading `_` on property functions that return the the plaintext token values - after reading, set the token to string value stored in `TOKEN_REDACTED` so it can still be printed and we can search for the string in log data where accidental leaks may happen - we still throw `PlaintextSecretAlreadyRead` when attempting to read the value more than once
Configuration menu - View commit details
-
Copy full SHA for d5057c6 - Browse repository at this point
Copy the full SHA d5057c6View commit details -
- update tests to access correct property - ignore typing error
Configuration menu - View commit details
-
Copy full SHA for 7f8b9da - Browse repository at this point
Copy the full SHA 7f8b9daView commit details -
Configuration menu - View commit details
-
Copy full SHA for ac3e130 - Browse repository at this point
Copy the full SHA ac3e130View commit details -
Configuration menu - View commit details
-
Copy full SHA for 42bb344 - Browse repository at this point
Copy the full SHA 42bb344View commit details
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.