Commit 5deb334
authored
[Recorder] Mask access_token in the JSON responses in recordings (Azure#12759)
### TODO
- [x] Proposal - Come up with a method to mask "access_token" in the recorder rather than expecting users to provide it through the custom config
- [x] Node
- [x] Browser
- [x] Add "mask" method to the default customizations
- [x] Changelog
- [x] Regenerate a recording from app-config and keyvault-keys tests with "access_token"s
- [x] (Beyond the scope of this PR) Remove the "access_token" custom replacement from the recorder config in all the packages Keyvault, form recognizer, etc Azure#146021 parent 611a74b commit 5deb334
File tree
12 files changed
+1840
-331
lines changed- sdk
- appconfiguration/app-configuration
- recordings/node/authentication
- test/public
- utils
- keyvault/keyvault-keys
- recordings
- browsers/challenge_based_authentication_tests
- node/challenge_based_authentication_tests
- test/utils
- test-utils/recorder
- src
- utils
- test
- browser
- node
12 files changed
+1840
-331
lines changedLines changed: 24 additions & 24 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 3 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
11 | | - | |
| 11 | + | |
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
| |||
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
34 | | - | |
35 | | - | |
36 | | - | |
37 | | - | |
| 34 | + | |
38 | 35 | | |
39 | 36 | | |
40 | 37 | | |
| |||
43 | 40 | | |
44 | 41 | | |
45 | 42 | | |
46 | | - | |
| 43 | + | |
47 | 44 | | |
48 | 45 | | |
49 | 46 | | |
| |||
Lines changed: 1 addition & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
42 | 42 | | |
43 | 43 | | |
44 | 44 | | |
45 | | - | |
46 | | - | |
47 | | - | |
48 | | - | |
| 45 | + | |
49 | 46 | | |
50 | 47 | | |
51 | 48 | | |
| |||
0 commit comments