摘要: var nodemailer = require('nodemailer') var transporter = nodemailer.createTransport("SMTP", { host: "smtp.126.com", // 主机 secureConnection : true, // 阅读全文
posted @ 2019-04-22 22:16 卓灼其华 阅读(458) 评论(0) 推荐(0) 编辑
摘要: Cassandra Module: cassandra-driver Installation Example Couchbase Module: couchnode Installation Example CouchDB Module: nano Installation Example Lev 阅读全文
posted @ 2019-04-06 10:10 卓灼其华 阅读(2636) 评论(0) 推荐(1) 编辑
摘要: Get Authorization code:Request: https://accounts.google.com/o/oauth2/v2/auth?redirect_uri=https%3A%2F%2Fdevelopers.google.com%2Foauthplayground&prompt 阅读全文
posted @ 2019-04-05 21:30 卓灼其华 阅读(72169) 评论(0) 推荐(0) 编辑
摘要: access-control-allow-headers: Authorization, Content-Type, Depth, User-Agent, X-File-Size, X-Requested-With, X-Requested-By, If-Modified-Since, X-File 阅读全文
posted @ 2019-04-01 23:14 卓灼其华 阅读(1005) 评论(0) 推荐(0) 编辑
摘要: 原文地址:http://my.oschina.net/lichaoqiang/blog/317823 在浏览器请求中,出现跨域访问资源的问题,我们肯定会遇到。如果跨域请求被阻止,有可能导致css、js 、ajax请求、font字体等资源出现无法正常访问的问题。接下来,就介绍下解决同源策略不允许读取远 阅读全文
posted @ 2019-04-01 23:04 卓灼其华 阅读(4043) 评论(0) 推荐(0) 编辑
摘要: 源码: https://github.com/DawnyWu/react-github-oauth-demo166 首先到github注册自己的应用,得到client_id 和 client_secret Github Oauth认证的简单过程为 实现细节 由于是单页应用,github认证页面我们选 阅读全文
posted @ 2019-03-27 21:53 卓灼其华 阅读(772) 评论(0) 推荐(0) 编辑
摘要: Whether you’re a seasoned developer, or just getting your chops, APIs can be a great way to quickly move your app idea from the drawing board and onto 阅读全文
posted @ 2019-03-19 15:41 卓灼其华 阅读(252) 评论(0) 推荐(0) 编辑
摘要: You may be asking yourself: “What are the most popular and used APIs out there?” Ready to start building awesome apps? Get Started at RapidAPI's API M 阅读全文
posted @ 2019-03-19 15:34 卓灼其华 阅读(1162) 评论(0) 推荐(0) 编辑
摘要: 什么是OpenID Connect?它是如何工作的? OpenID Connect是一种基于OAuth 2.0系列规范的可互操作的身份验证协议。它使用简单的REST / JSON消息流,其设计目标是“使简单的事情变得简单和复杂”。与任何先前的身份协议相比,开发人员可以非常轻松地进行集成。 OpenI 阅读全文
posted @ 2019-03-10 15:55 卓灼其华 阅读(804) 评论(0) 推荐(0) 编辑