Skip to main content

Baidu XiongZhang Oauth Module for Python.

Installation

pip install pybd-oauth

Usage

from pybd_oauth import get_access_info, get_oauth_code_url, get_userinfo, get_component_access_info, get_component_oauth_code_url, get_component_userinfo, get_oauth_redirect_url

Method

def get_oauth_code_url(self, appid=None, redirect_uri=None, scope='snsapi_base', redirect_url=None, component=False, component_appid=None):

def get_access_info(self, appid=None, secret=None, code=None, component=False, component_appid=None, component_access_token=None):

def get_userinfo(self, access_token=None, openid=None, component=False):

def get_component_oauth_code_url(self, appid=None, redirect_uri=None, scope='snsapi_base', redirect_url=None, component_appid=None):

def get_component_access_info(self, appid=None, code=None, component_appid=None, component_access_token=None):

def get_component_userinfo(self, access_token=None, openid=None):

def get_oauth_redirect_url(self, oauth_uri, scope='snsapi_base', redirect_url=None, default_url=None, direct_redirect=None, random_str=True):

Metadata

Release files for pybd-oauth 1.0.3

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

Source distribution (sdist)

Source distribution for pybd-oauth 1.0.3
File Size Uploaded Provenance Actions
pybd-oauth-1.0.3.tar.gz 2.7 kB Without provenance Details for pybd-oauth-1.0.3.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for pybd-oauth 1.0.3
File Interpreter ABI Platform Actions
pybd_oauth-1.0.3-py2.py3-none-any.whl Python 2, Python 3 none any Details for pybd_oauth-1.0.3-py2.py3-none-any.whl

Total release size: 5.9 kB

Release files / pybd-oauth-1.0.3.tar.gz

Download URL pybd-oauth-1.0.3.tar.gz
Size 2.7 kB
Tags Source
SHA-256 checksum
How to use checksums
10ab2354971a89c6f169a723225cd2167758f4ba0ab20d5c0fa08ca545cd90a8
BLAKE2b-256 checksum
How to use checksums
48c94209c64f19d726d199d0d96a15116cd646f94669d2e5066157ad7cfb8cb1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.12.1 pkginfo/1.4.2 requests/2.19.1 setuptools/39.0.1 requests-toolbelt/0.8.0 tqdm/4.19.8 CPython/2.7.12+

Release files / pybd_oauth-1.0.3-py2.py3-none-any.whl

Download URL pybd_oauth-1.0.3-py2.py3-none-any.whl
Size 3.2 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
fd7a4151fd8e4b061fc0c9a8fdd65d4a29991324f05ea5cd2aeb60b32c239034
BLAKE2b-256 checksum
How to use checksums
3eb537561e52e7c918db93f7ebff21701bcc8b7b77da8853dc877c9e169a2740
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.12.1 pkginfo/1.4.2 requests/2.19.1 setuptools/39.0.1 requests-toolbelt/0.8.0 tqdm/4.19.8 CPython/2.7.12+

Security for pybd-oauth 1.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.

Release history Release notifications | RSS feed

This release

1.0.3 This release

2 release files 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