Commit 6f599b5
fix: mfa and add support for mfa qr code requirement (#68)
* fix: mfa and add support for mfa qr code requirement
Co-authored-by: Maxime Quandalle <maxime.quandalle@gmail.com>
* Update src/bourso_api/src/client/mod.rs
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
* Replace regex compilation unwrap() with lazy_static pattern (#70)
* Initial plan
* Use lazy_static for OTP params regex to handle compilation errors at startup
Co-authored-by: azerpas <19282069+azerpas@users.noreply.github.com>
* Apply lazy_static pattern to all regex compilation in mod.rs
Co-authored-by: azerpas <19282069+azerpas@users.noreply.github.com>
* Replace unwrap() with proper error handling in extract_token and extract_user_contact
Co-authored-by: azerpas <19282069+azerpas@users.noreply.github.com>
* Remove all remaining unwrap() calls in extraction functions
Co-authored-by: azerpas <19282069+azerpas@users.noreply.github.com>
* Add documentation comments to lazy_static regex constants
Co-authored-by: azerpas <19282069+azerpas@users.noreply.github.com>
* Make error handling consistent across all extraction functions
Co-authored-by: azerpas <19282069+azerpas@users.noreply.github.com>
---------
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: azerpas <19282069+azerpas@users.noreply.github.com>
* Refactor: Extract duplicated JSON path in extract_otp_params (#69)
* Initial plan
* Extract duplicated JSON path in extract_otp_params
Co-authored-by: azerpas <19282069+azerpas@users.noreply.github.com>
---------
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: azerpas <19282069+azerpas@users.noreply.github.com>
* chore: improve coverage
* refactor: bump UA
* docs: update readme
---------
Co-authored-by: Maxime Quandalle <maxime.quandalle@gmail.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <198982749+Copilot@users.noreply.github.com>1 parent 59e87a9 commit 6f599b5
8 files changed
Lines changed: 1237 additions & 380 deletions
File tree
- src
- bourso_api
- src/client
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
| 26 | + | |
| 27 | + | |
26 | 28 | | |
27 | 29 | | |
28 | 30 | | |
| |||
197 | 199 | | |
198 | 200 | | |
199 | 201 | | |
| 202 | + | |
| 203 | + | |
| 204 | + | |
| 205 | + | |
| 206 | + | |
| 207 | + | |
| 208 | + | |
| 209 | + | |
| 210 | + | |
200 | 211 | | |
201 | 212 | | |
202 | 213 | | |
| |||
0 commit comments