Skip to main content

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(
    refreshToken = YOUR_REFRESH_TOKEN
)

유저 정보 가져오기

from gauth_python.requests import user_info

user_info(
   accessToken = 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.8.tar.gz (3.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

gauth_python-0.1.8-py3-none-any.whl (4.0 kB view details)

Uploaded Python 3

File details

Details for the file gauth_python-0.1.8.tar.gz.

File metadata

  • Download URL: gauth_python-0.1.8.tar.gz
  • Upload date:
  • Size: 3.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.5

File hashes

Hashes for gauth_python-0.1.8.tar.gz
Algorithm Hash digest
SHA256 98194f05ec53a5b780930c857642fbe1a4795f14da732c592011c91d3f5e63f3
MD5 1d23d02cf987b2f0cb32bbee7d31f545
BLAKE2b-256 0d07dac52090ab8c24ca2bc285ebb167e78e5fd99048febfe0edc8065b36cfe7

See more details on using hashes here.

File details

Details for the file gauth_python-0.1.8-py3-none-any.whl.

File metadata

  • Download URL: gauth_python-0.1.8-py3-none-any.whl
  • Upload date:
  • Size: 4.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.5

File hashes

Hashes for gauth_python-0.1.8-py3-none-any.whl
Algorithm Hash digest
SHA256 cde575cd5ff1bd3746884395db90d685901580f6bfac102590464c23bdb604c7
MD5 893cf567a90876fe5602a2922f00162e
BLAKE2b-256 87c031aa9d69e1b8192681322a1df42d2805bf5dfb616d8ddb4372801bba9f28

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page