FastAPI OAuth 2.0
在 FastAPI 中异步授权 OAuth 2.0 客户端
我们的目标是集成多个 CN 第三方客户端
Download
pip install fastapi_oauth20
Docs
Demo
查看完整的示例项目:fastapi-oauth20-demo
该示例项目展示了如何在实际应用中使用 fastapi-oauth20,包括:
- 多个 OAuth2 提供商的集成示例
- 完整的授权流程实现
- 用户信息获取和处理
- 错误处理最佳实践
Sponsor
如果这个项目对你有帮助,欢迎请作者喝杯咖啡 ☕
Metadata
Release files for fastapi-oauth20 0.0.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| fastapi_oauth20-0.0.3.tar.gz | 2.3 MB | Without provenance | Details for fastapi_oauth20-0.0.3.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| fastapi_oauth20-0.0.3-py3-none-any.whl | Python 3 | none | any | Details for fastapi_oauth20-0.0.3-py3-none-any.whl |
Total release size: 2.3 MB
Release files / fastapi_oauth20-0.0.3.tar.gz
| Download URL | fastapi_oauth20-0.0.3.tar.gz |
|---|---|
| Size | 2.3 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
a56c7e455c322e3e8ce06d8d536af2bdd5a72f8ede836fd5c3b823b704a612f9
|
|
BLAKE2b-256 checksum How to use checksums |
f6e0d020c615d824a56dbd7d5f8cc41b406cc23362099dfe7ba2759294a70712
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.9.24 {"installer":{"name":"uv","version":"0.9.24","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":null,"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
|
Release files / fastapi_oauth20-0.0.3-py3-none-any.whl
| Download URL | fastapi_oauth20-0.0.3-py3-none-any.whl |
|---|---|
| Size | 14.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
aa2561044684c742d4eafdca5751beff04a35d80e9e13470cff57237129c054a
|
|
BLAKE2b-256 checksum How to use checksums |
186f94301d0e43744813a870e350fbff1640063fa1120c7c2dabb7a8ddb8ef2c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.9.24 {"installer":{"name":"uv","version":"0.9.24","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":null,"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
|
Security for fastapi-oauth20 0.0.3
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.