snowland-authsdk, oauth 2.0 framework for Snowland.ltd
Project description
snowland-auth-sdk-python
The SDK that works alongside snowland-auth-python.
Usage
- First, register an account on the snowland-auth website.
- Create an application on the snowland-auth website to obtain the application's
access_keyandaccess_secret. - As shown in the demo:
- Create an OAuth object
from snowland_authsdk.login import OAuth
access_key = 'tuxf517fqdserop68z1m3zmf6bs6tkrf'
access_secret = '2446ea7d1722da461052d547268480b5aca159a781ccba27908a3acde887889c'
app = OAuth(access_key, access_secret)
- Redirect the URL so that the user can send a request to the third-party server
res = app.oauth_authorize(**param, **user)
- Obtain the user's
code, and use it to apply for a token from the third-party server
res = app.oauth_access_token(**{"code": code, "method":'post'})
- Use the token to request data from the third-party server
res = app.oauth_access_token(**{"code": code, "method": 'get'})
Adoption Registry
More companies adopting this project are welcome to register at the registration address. Registration is only for product promotion.
The following companies or organizations have directly or indirectly used this project:
- A.Star Algorithm Group
- Hebei Snowland Network Technology Co., Ltd.
...
Copyright and License
This product is open source and free, and will continue to provide technical support. Individual or enterprise users are free to access and use.
Licensed under the Apache v2.0 License (Apache 2.0). Copyright (c) 2019-present, Snowland Co,.Ltd
The product is open source and free of charge, and we will continue to provide technical support. Individuals and enterprises may freely integrate and use it.
Donate
No matter how much the amount is, it is enough to express your thought. Thank you very much :) To donate
No matter how much the amount is, it is enough to express your appreciation. Thank you very much :)
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file snowland_authsdk-0.1.tar.gz.
File metadata
- Download URL: snowland_authsdk-0.1.tar.gz
- Upload date:
- Size: 14.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/7.0.0 CPython/3.13.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d413a967b751d9fccef0abfa3ef2b300d8758e69e9b6f6dae04c875959ccd05b
|
|
| MD5 |
49654c3b1fa8f971dd6f5a3817541a9b
|
|
| BLAKE2b-256 |
04d814d11b7254d57a398c5dc4ee08b16653e71dc22952577322bf3694d3b4fb
|
File details
Details for the file snowland_authsdk-0.1-py3-none-any.whl.
File metadata
- Download URL: snowland_authsdk-0.1-py3-none-any.whl
- Upload date:
- Size: 17.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/7.0.0 CPython/3.13.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
32f7baa1d662e29fa310e34a0c3d94b6c2ab893870ec9e4f5913a3ab8514a6ee
|
|
| MD5 |
898845ad89f82f01d2b84e91300a5e58
|
|
| BLAKE2b-256 |
49044c260ffc64da25b6ef3cf92d047602469aadfc0c2741f55a53200c11014e
|