Skip to content

Commit

Permalink
automating MFA authentication (robinhood-unofficial#303)
Browse files Browse the repository at this point in the history
* added mfa authentication
* added mfa docstring
* add mfa unit testing
* added pyotp to dependencies
* update poetry.lock
* Fix docs syntax and update `.gitignore`

Co-authored-by: Adithya Balaji <adithyabsk@gmail.com>
  • Loading branch information
RobertAgee and adithyabsk authored Dec 6, 2022
1 parent 8ca1572 commit ceb5785
Show file tree
Hide file tree
Showing 13 changed files with 283 additions and 349 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -71,3 +71,4 @@ target/
.DS_Store
*.mypy_cache/*
*.env
docs/stubs
6 changes: 6 additions & 0 deletions docs/api.rst
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,9 @@ API Reference
load_session
dump_session
exceptions

.. currentmodule:: pyrh.models.sessionmanager
.. autosummary::
:toctree: stubs

SessionManager
Empty file added docs/stubs/.gitkeep
Empty file.
88 changes: 0 additions & 88 deletions docs/stubs/pyrh.Robinhood.rst

This file was deleted.

6 changes: 0 additions & 6 deletions docs/stubs/pyrh.dump_session.rst

This file was deleted.

30 changes: 0 additions & 30 deletions docs/stubs/pyrh.exceptions.rst

This file was deleted.

6 changes: 0 additions & 6 deletions docs/stubs/pyrh.load_session.rst

This file was deleted.

1 change: 1 addition & 0 deletions newsfragments/300.misc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Added on-demand MFA generation to SessionManager
Loading

0 comments on commit ceb5785

Please sign in to comment.