Sebastián Ramírez
fdb6c9ccc5
✨ Improve type annotations, add support for mypy --strict, internally and for external packages ( #2547 )
2020-12-20 19:50:00 +01:00
Richard Hoekstra
bd2acbcabb
✨ Export OAuth2PasswordRequestFormStrict from security ( #1462 )
...
* Update __init__.py
Fixes an import error:
from fastapi.security import OAuth2PasswordBearer, OAuth2PasswordRequestFormStrict
ImportError: cannot import name 'OAuth2PasswordRequestFormStrict'
* Simplify import of OAuth2PasswordRequestFormStrict
* Simplify import of OAuth2PasswordRequestFormStrict
2020-06-13 18:08:08 +02:00
Jesse P. Johnson
91fe90e8e6
✨ Implement OAuth2 authorization_code integration ( #797 )
2020-01-08 22:47:19 +01:00
Sebastián Ramírez
7391056daf
✨ Add OAuth2 scopes with SecurityScopes, upgrade Security ( #141 )
...
* ✨ Upgrade OAuth2 Security with scopes handling
* 📝 Update Security tutorial with OAuth2 and JWT
* ✨ Add tutorial code for OAuth2 with scopes (and JWT)
* ✅ Add tests for tutorial/OAuth2 with scopes
* 🐛 Fix security_scopes type declaration
* ✨ Add docs and tests for SecurityScopes
2019-04-09 23:29:04 +04:00
Sebastián Ramírez
1112ac7538
⬆️ Update imports and scripts for new isort versions ( #75 )
2019-03-09 15:04:13 +04:00
Sebastián Ramírez
90af868146
✨ Add security checks for HTTP utils
...
and tests for them
2018-12-29 23:04:54 +04:00
Sebastián Ramírez
ece3252385
✨ Add util class for OAuth2 Password Bearer scheme
2018-12-10 20:11:14 +04:00
Sebastián Ramírez
8cc9ccab92
🎨 Update main imports (and exports)
2018-12-10 07:59:17 +04:00
Sebastián Ramírez
406c092a3b
🎉 Start tracking messy initial stage
...
...before refactoring and breaking something
2018-12-05 10:56:50 +04:00