Skip to content

ewlkkf/passport-txwy

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

passport-txwy

Txwy authentication for node.js

Install

$ git clone https://github.com/CirnoV/passport-txwy.git
$ cd passport-txwy
$ yarn

Example

import login from 'passport-txwy';

const {sid} = login({username, password, appInfo, deviceInfo});
  • 23시간 30분이 지나면 sid는 자동으로 만료됩니다.

appInfo 구조

Key Description
id AppID
key AppKey
fuid fuid
version AppVersion
buildNum buildNum
adid ad_id
platform platform (android/ios)
locale locale (kr)

deviceInfo 구조

Key Description
dev device_model
cpu cpu_abi
deviceId android_id
mac mac
os android_verison (4.3(REL))
fbl resolution (1980_1024)

About

Txwy authentication for node.js

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%