Python sdk from Gauth.
Project description
GAuth-Python
단 하나의 계정으로 모든 GSM의 서비스를 이용할 수 있게.
___ ___ ___ ___
/ /\ / /\ /__/\ ___ /__/\
/ /:/_ / /::\ \ \:\ / /\ \ \:\
/ /:/ /\ / /:/\:\ \ \:\ / /:/ \__\:\
/ /:/_/::\ / /:/ /::\ ___ \ \:\ / /:/ ___ / /::\
/__/:/__\/\:\ /__/:/ /:/\:\ /__/\ \__\:\ / /::\ /__/\ /:/\:\
\ \:\ /:/ \ \:\/:/__\/ \ \:\ / /:/ /__/:/\:\ \ \:\/:/__\/
\ \:\ /:/ \ \::/ \ \:\ /:/ \__\/ \:\ \ \::/
\ \:\/:/ \ \:\ \ \:\/:/ \ \:\ \ \:\
\ \::/ \ \:\ \ \::/ \__\/ \ \:\
\__\/ \__\/ \__\/ \__\/
GAuth는 여러 프로젝트에서 편하게 로그인을 구현할 수 있고 사용자들이 새로 계정을 만들 필요가 없어 접근성을 더욱 쉽게 만들어줄 수 있는 서비스 입니다.
Installation
// pip3 install gauth-python
// pip install gauth-python
Issue
Git : GitHub - GSM-MSG/GAuth-SDK-Python
Discord : dev_yohan05
How to use
Code 발급
from gauth_python.requests import code_issuance
code_issuance(
email=YOUR_EMAIL,
password=YOUR_PASSWORD
)
token 발급
from gauth_python.requests import token_issuance
token_issuance(
code = YOUR_CODE,
clientId = YOUR_CLIENT_ID,
clientSecret = YOUR_CLIENT_SECRET,
redirectUri = YOUR_REDIRECT_URL
)
token 재발급
from gauth_python.requests import token_reissuance
token_reissuance(
Authorization = YOUR_REFRESH_TOKEN
)
유저 정보 가져오기
from gauth_python.requests import user_info
user_info(
Authorization = YOUR_ACCESS_TOKEN
)
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
gauth_python-0.1.6.tar.gz
(3.5 kB
view hashes)
Built Distribution
Close
Hashes for gauth_python-0.1.6-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e63cb91378e1148b7285329be35706bea61edcbbe6642128c1e1cc8660c79bf0 |
|
MD5 | 85bccfa0972fffaf9575e76c790e8475 |
|
BLAKE2b-256 | f9d200fc06971d5a6005d78be38bb83d005d5140e637a68454053abebf00885d |