├── .gitignore ├── README.md ├── doc ├── yoyow授权SDK相关文档(nodejs).docx └── 授权登录接口文档.docx ├── examples ├── discuz-plugin │ ├── readme.md │ └── yoyowauth.zip ├── wordpress-plugin │ ├── readme.md │ └── yoyow-auth.zip └── yoyow-authorize │ ├── .babelrc │ ├── .gitignore │ ├── app.js │ ├── bin │ └── www │ ├── conf │ └── config.js │ ├── lib │ ├── utils.js │ └── yoyow-node-sdk.js │ ├── package.json │ ├── public │ └── stylesheets │ │ └── style.css │ ├── routes │ ├── Auth.js │ ├── api.js │ └── index.js │ └── views │ ├── error.ejs │ └── index.ejs └── middleware ├── .babelrc ├── .gitignore ├── Dockerfile ├── README-EN.md ├── README-docker-en.md ├── README-docker.md ├── README.md ├── app.js ├── bin └── www ├── conf └── config.js ├── esdoc.json ├── lib ├── Api.js ├── Auth.js ├── ErrorUtils.js ├── Secure.js ├── aes-json-format.js ├── entity.js └── utils.js ├── package.json ├── public ├── images │ ├── step1-en.png │ ├── step1.png │ ├── step2.png │ ├── step3-en.png │ ├── step3.png │ └── step4.png └── stylesheets │ └── style.css ├── routes ├── api.js ├── auth.js └── index.js ├── test ├── api.test.js └── auth.test.js └── views ├── error.jade ├── index.jade └── layout.jade /.gitignore: -------------------------------------------------------------------------------- 1 | .idea 2 | .DS_store 3 | doc/SDK-Docs 4 | node_modules -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yoyow-org/yoyow-node-sdk/HEAD/README.md -------------------------------------------------------------------------------- /doc/yoyow授权SDK相关文档(nodejs).docx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yoyow-org/yoyow-node-sdk/HEAD/doc/yoyow授权SDK相关文档(nodejs).docx -------------------------------------------------------------------------------- /doc/授权登录接口文档.docx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yoyow-org/yoyow-node-sdk/HEAD/doc/授权登录接口文档.docx -------------------------------------------------------------------------------- /examples/discuz-plugin/readme.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yoyow-org/yoyow-node-sdk/HEAD/examples/discuz-plugin/readme.md -------------------------------------------------------------------------------- /examples/discuz-plugin/yoyowauth.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yoyow-org/yoyow-node-sdk/HEAD/examples/discuz-plugin/yoyowauth.zip -------------------------------------------------------------------------------- /examples/wordpress-plugin/readme.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yoyow-org/yoyow-node-sdk/HEAD/examples/wordpress-plugin/readme.md -------------------------------------------------------------------------------- /examples/wordpress-plugin/yoyow-auth.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yoyow-org/yoyow-node-sdk/HEAD/examples/wordpress-plugin/yoyow-auth.zip -------------------------------------------------------------------------------- /examples/yoyow-authorize/.babelrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yoyow-org/yoyow-node-sdk/HEAD/examples/yoyow-authorize/.babelrc -------------------------------------------------------------------------------- /examples/yoyow-authorize/.gitignore: -------------------------------------------------------------------------------- 1 | .idea 2 | node_modules 3 | npm-debug.log 4 | package-lock.json -------------------------------------------------------------------------------- /examples/yoyow-authorize/app.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yoyow-org/yoyow-node-sdk/HEAD/examples/yoyow-authorize/app.js -------------------------------------------------------------------------------- /examples/yoyow-authorize/bin/www: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yoyow-org/yoyow-node-sdk/HEAD/examples/yoyow-authorize/bin/www -------------------------------------------------------------------------------- /examples/yoyow-authorize/conf/config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yoyow-org/yoyow-node-sdk/HEAD/examples/yoyow-authorize/conf/config.js -------------------------------------------------------------------------------- /examples/yoyow-authorize/lib/utils.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yoyow-org/yoyow-node-sdk/HEAD/examples/yoyow-authorize/lib/utils.js -------------------------------------------------------------------------------- /examples/yoyow-authorize/lib/yoyow-node-sdk.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yoyow-org/yoyow-node-sdk/HEAD/examples/yoyow-authorize/lib/yoyow-node-sdk.js -------------------------------------------------------------------------------- /examples/yoyow-authorize/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yoyow-org/yoyow-node-sdk/HEAD/examples/yoyow-authorize/package.json -------------------------------------------------------------------------------- /examples/yoyow-authorize/public/stylesheets/style.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yoyow-org/yoyow-node-sdk/HEAD/examples/yoyow-authorize/public/stylesheets/style.css -------------------------------------------------------------------------------- /examples/yoyow-authorize/routes/Auth.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yoyow-org/yoyow-node-sdk/HEAD/examples/yoyow-authorize/routes/Auth.js -------------------------------------------------------------------------------- /examples/yoyow-authorize/routes/api.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yoyow-org/yoyow-node-sdk/HEAD/examples/yoyow-authorize/routes/api.js -------------------------------------------------------------------------------- /examples/yoyow-authorize/routes/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yoyow-org/yoyow-node-sdk/HEAD/examples/yoyow-authorize/routes/index.js -------------------------------------------------------------------------------- /examples/yoyow-authorize/views/error.ejs: -------------------------------------------------------------------------------- 1 |

<%= message %>

-------------------------------------------------------------------------------- /examples/yoyow-authorize/views/index.ejs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yoyow-org/yoyow-node-sdk/HEAD/examples/yoyow-authorize/views/index.ejs -------------------------------------------------------------------------------- /middleware/.babelrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yoyow-org/yoyow-node-sdk/HEAD/middleware/.babelrc -------------------------------------------------------------------------------- /middleware/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yoyow-org/yoyow-node-sdk/HEAD/middleware/.gitignore -------------------------------------------------------------------------------- /middleware/Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yoyow-org/yoyow-node-sdk/HEAD/middleware/Dockerfile -------------------------------------------------------------------------------- /middleware/README-EN.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yoyow-org/yoyow-node-sdk/HEAD/middleware/README-EN.md -------------------------------------------------------------------------------- /middleware/README-docker-en.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yoyow-org/yoyow-node-sdk/HEAD/middleware/README-docker-en.md -------------------------------------------------------------------------------- /middleware/README-docker.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yoyow-org/yoyow-node-sdk/HEAD/middleware/README-docker.md -------------------------------------------------------------------------------- /middleware/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yoyow-org/yoyow-node-sdk/HEAD/middleware/README.md -------------------------------------------------------------------------------- /middleware/app.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yoyow-org/yoyow-node-sdk/HEAD/middleware/app.js -------------------------------------------------------------------------------- /middleware/bin/www: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yoyow-org/yoyow-node-sdk/HEAD/middleware/bin/www -------------------------------------------------------------------------------- /middleware/conf/config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yoyow-org/yoyow-node-sdk/HEAD/middleware/conf/config.js -------------------------------------------------------------------------------- /middleware/esdoc.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yoyow-org/yoyow-node-sdk/HEAD/middleware/esdoc.json -------------------------------------------------------------------------------- /middleware/lib/Api.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yoyow-org/yoyow-node-sdk/HEAD/middleware/lib/Api.js -------------------------------------------------------------------------------- /middleware/lib/Auth.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yoyow-org/yoyow-node-sdk/HEAD/middleware/lib/Auth.js -------------------------------------------------------------------------------- /middleware/lib/ErrorUtils.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yoyow-org/yoyow-node-sdk/HEAD/middleware/lib/ErrorUtils.js -------------------------------------------------------------------------------- /middleware/lib/Secure.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yoyow-org/yoyow-node-sdk/HEAD/middleware/lib/Secure.js -------------------------------------------------------------------------------- /middleware/lib/aes-json-format.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yoyow-org/yoyow-node-sdk/HEAD/middleware/lib/aes-json-format.js -------------------------------------------------------------------------------- /middleware/lib/entity.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yoyow-org/yoyow-node-sdk/HEAD/middleware/lib/entity.js -------------------------------------------------------------------------------- /middleware/lib/utils.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yoyow-org/yoyow-node-sdk/HEAD/middleware/lib/utils.js -------------------------------------------------------------------------------- /middleware/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yoyow-org/yoyow-node-sdk/HEAD/middleware/package.json -------------------------------------------------------------------------------- /middleware/public/images/step1-en.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yoyow-org/yoyow-node-sdk/HEAD/middleware/public/images/step1-en.png -------------------------------------------------------------------------------- /middleware/public/images/step1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yoyow-org/yoyow-node-sdk/HEAD/middleware/public/images/step1.png -------------------------------------------------------------------------------- /middleware/public/images/step2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yoyow-org/yoyow-node-sdk/HEAD/middleware/public/images/step2.png -------------------------------------------------------------------------------- /middleware/public/images/step3-en.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yoyow-org/yoyow-node-sdk/HEAD/middleware/public/images/step3-en.png -------------------------------------------------------------------------------- /middleware/public/images/step3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yoyow-org/yoyow-node-sdk/HEAD/middleware/public/images/step3.png -------------------------------------------------------------------------------- /middleware/public/images/step4.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yoyow-org/yoyow-node-sdk/HEAD/middleware/public/images/step4.png -------------------------------------------------------------------------------- /middleware/public/stylesheets/style.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yoyow-org/yoyow-node-sdk/HEAD/middleware/public/stylesheets/style.css -------------------------------------------------------------------------------- /middleware/routes/api.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yoyow-org/yoyow-node-sdk/HEAD/middleware/routes/api.js -------------------------------------------------------------------------------- /middleware/routes/auth.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yoyow-org/yoyow-node-sdk/HEAD/middleware/routes/auth.js -------------------------------------------------------------------------------- /middleware/routes/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yoyow-org/yoyow-node-sdk/HEAD/middleware/routes/index.js -------------------------------------------------------------------------------- /middleware/test/api.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yoyow-org/yoyow-node-sdk/HEAD/middleware/test/api.test.js -------------------------------------------------------------------------------- /middleware/test/auth.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yoyow-org/yoyow-node-sdk/HEAD/middleware/test/auth.test.js -------------------------------------------------------------------------------- /middleware/views/error.jade: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yoyow-org/yoyow-node-sdk/HEAD/middleware/views/error.jade -------------------------------------------------------------------------------- /middleware/views/index.jade: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yoyow-org/yoyow-node-sdk/HEAD/middleware/views/index.jade -------------------------------------------------------------------------------- /middleware/views/layout.jade: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yoyow-org/yoyow-node-sdk/HEAD/middleware/views/layout.jade --------------------------------------------------------------------------------