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.7.tar.gz
(3.5 kB
view hashes)
Built Distribution
Close
Hashes for gauth_python-0.1.7-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 040b46c7c82f07263f5674dc0484a6f1dd29ce107a4db5b15f4953553c994f19 |
|
MD5 | 88f39fc5e50bd629e96303b80a7c3bb3 |
|
BLAKE2b-256 | adbb8f0a09c747f13688831901aadf177e18564e192f5d85668218af50664bb7 |