danal
danal module for Node.js
Usage
var http = var express = var danal = var config = var uas = configuas var app = appappapp var port = processenvPORT || '3001' apphttp
// config.json "ci_url": "basic": "ci logo url : size 115 x 47" "mobile": "ci logo url : size 77 x 29" "uas": "client_id": "CPID" "client_secret": "CPPWD" "redirect_uri": "http://127.0.0.1:3001/uas/callback" "user": // optional "carrier": "SKT" "phonenum": "010-0000-0000" "passvalue": "passvalue" "yearofbirth": 1982
// return data: /uas/callback "uas": "code": "0000" "message": "No information" "tid": "201601131221348871382010" "cancel_uri": "http://127.0.0.1:3001/uas/cancel" "ci_url": "ci logo url" "passvalue": "passvalue" "yearofbirth": "1982" "use_ci": "Y" "error": null "result": "code": "0000" "message": "No information" "ci": "ci string" "name": "user name" "token": "token" "tid": "201601131221348871382010" "dateofbirth": "19820504" "gender": "1" "di": "di string" "userid": "userid" // return data: /uas/cancel "uas": "code": "0000" "message": "No information" "tid": "201601131224209429051010" "cancel_uri": "http://127.0.0.1:3001/uas/cancel" "ci_url": "ci logo url" "passvalue": "passvalue" "yearofbirth": "1982" "use_ci": "Y"
carrier
- SKT
- KTF
- LGT
- MVNO
Documentation
See the documentation
Release History
See the changelog
LICENSE
danal is licensed under the MIT license.