Skip to main content

A project for Third party login

目前只支持 腾讯QQ,微信,微博 第三方登录

安装 pip install AgentLogin

from AgentLogin import AgentLogin

qq_url = AgentLogin.qq_url(client_id, redirect_uri)

把这个qq_url链接放到你的<a href=”{{ qq_url }}”>QQ登录<a>

(user, user_id) = AgentLogin.qq(client_id, client_secret, redirect_uri, code)

code: 用户授权登录回调参数code client_id:腾讯开放平台上app的APPID名 client_secret: 腾讯开放平台上app的secret名 redirect_uri: 腾讯开放平台上app的回调url user: 返回qq的用户名

有使用AgentLogin的项目:http://120.78.176.77, http://101.132.132.181:8080

如有疑问不会使用 请联系作者:1483906080@qq.com

Metadata

Release files for AgentLogin 3.0.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for AgentLogin 3.0.0
File Size Uploaded Provenance Actions
AgentLogin-3.0.0.tar.gz 2.9 kB Without provenance Details for AgentLogin-3.0.0.tar.gz

Release files / AgentLogin-3.0.0.tar.gz

Download URL AgentLogin-3.0.0.tar.gz
Size 2.9 kB
Tags Source
SHA-256 checksum
How to use checksums
514a83abb9a9141900a7f1f93c1f3a76c5f2c57ff0c20cbb7b89396d05387234
BLAKE2b-256 checksum
How to use checksums
62ab850752c62d5224778c60bb961d91169291ff13a1460bdc03b7ec6bf086dc
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via Python-urllib/3.6

Security for AgentLogin 3.0.0

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.

Release history Release notifications | RSS feed

This release

3.0.0 This release

1 release file No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page