NabuCasa / pycognito

Python library for using AWS Cognito. With support for SRP.
Apache License 2.0
128 stars 39 forks source link

Added support for Software Token MFA. #144

Closed Taikono-Himazin closed 2 years ago

Taikono-Himazin commented 2 years ago

I was looking for an easy way to add Software Token MFA from Python. I think adding functionality to this library is the easiest solution. I think this will solve what has remained as an issue since the warrant era. https://github.com/capless/warrant/issues/169 However, the function is still incomplete. We will continue to add more if necessary.

Corrections are welcome. Please point out if the function layout or naming convention is incorrect. Also, I would like to mention it in the document if necessary, but please tell me how to do it. thank you.

Since it is Google Translate, there may be something wrong. I'm sorry.

pvizeli commented 2 years ago

Would be great if you could update the readme with an example. (optional, can be also an future PR)

Please fix all lint issues + black issues.

Thanks