Skip to content

Commit

Permalink
change title
Browse files Browse the repository at this point in the history
  • Loading branch information
jeasonzhu committed Dec 12, 2016
1 parent 9ff3f35 commit 5848907
Show file tree
Hide file tree
Showing 5 changed files with 18 additions and 18 deletions.
14 changes: 7 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#WeChat AuthSDK Demo App
#WeDemo App

微信登录Demo为微信团队开源项目,用于微信开发者进行微信登录、分享功能开发时的参考Demo。微信开发者可以参考项目中的代码来开发应用,也可以直接使用项目中的代码到自己的App中。
WeDemo为微信团队开源项目,用于微信开发者进行微信登录、分享功能开发时的参考Demo。微信开发者可以参考项目中的代码来开发应用,也可以直接使用项目中的代码到自己的App中。

开发者可以自由使用并传播本代码,但需要保留原作者信息。

Expand All @@ -10,16 +10,16 @@

详见Wiki:

* [微信AuthDemoApp交互时序说明文档](https://github.com/Tencent/WeDemo/wiki/微信Auth-Demo-App交互时序说明文档)
* [WeDemo App交互时序说明文档](https://github.com/Tencent/WeDemo/wiki/WeDemo-App交互时序说明文档)

* [WeChatAuthDemo客户端接入指南](https://github.com/Tencent/WeDemo/wiki/WeChatAuthDemo客户端接入指南)
* [WeDemo客户端接入指南](https://github.com/Tencent/WeDemo/wiki/WeDemo客户端接入指南)

* [WeChatAuthDemo生成密钥与自签名证书指南](https://github.com/Tencent/WeDemo/wiki/WeChatAuthDemo生成密钥与自签名证书指南)
* [WeDemo生成密钥与自签名证书指南](https://github.com/Tencent/WeDemo/wiki/WeDemo生成密钥与自签名证书指南)

* [WeChatAuthDemo后台(PHP)接入指南](https://github.com/Tencent/WeDemo/wiki/WeChatAuthDemo后台(PHP)接入指南)
* [WeDemo后台(PHP)接入指南](https://github.com/Tencent/WeDemo/wiki/WeDemo后台(PHP)接入指南)

##License
Copyright (c) 2015 Tencent
Copyright (c) 2016 Tencent

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
10 changes: 5 additions & 5 deletions doc/App_Integration_Guide.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<h1 align='center'>WeChatAuthDemo客户端接入指南</h1>
<h1 align='center'>WeDemo客户端接入指南</h1>

##目录

Expand All @@ -15,7 +15,7 @@
* [编写你自己的Engine]()

##概要
WeChatAuthDemo除了具有演示客户端,服务器如何安全的接入微信服务的作用,还提供了一套[安全的通信方式](https://github.com/Tencent/WeDemo/wiki/微信Auth-Demo-App交互时序说明文档)供开发者使用以快速搭建自己的App。本文为客户端接入指南,PHP端接入指南详见[WeChatAuthDemo后台(PHP)接入指南]()
WeDemo除了具有演示客户端,服务器如何安全的接入微信服务的作用,还提供了一套[安全的通信方式](https://github.com/Tencent/WeDemo/wiki/微信WeDemo交互时序说明文档)供开发者使用以快速搭建自己的App。本文为客户端接入指南,PHP端接入指南详见[WeChatAuthDemo后台(PHP)接入指南]()

##获取源代码
在Mac OS X上打开终端模拟器,输入以下命令:
Expand Down Expand Up @@ -67,14 +67,14 @@ open .

![](https://raw.githubusercontent.com/weixin-open/WeChatAuthDemo/master/doc/image/RSAPublicKey.jpg)

**注意,我们这里强烈建议使用2048位以上的钥匙对,具体生成密钥指南详见[WeChatAuthDemo生成RSA钥匙对与自签名证书指南](https://github.com/Tencent/WeDemo/wiki/WeChatAuthDemo生成密钥与自签名证书指南)**
**注意,我们这里强烈建议使用2048位以上的钥匙对,具体生成密钥指南详见[WeDemo生成RSA钥匙对与自签名证书指南](https://github.com/Tencent/WeDemo/wiki/WeDemo生成密钥与自签名证书指南)**

接下来将原来的工程的Bundle Resource中的SSL证书替换成你自己的自签名证书,如下图所示:

![](https://raw.githubusercontent.com/weixin-open/WeChatAuthDemo/master/doc/image/serverCer.jpg)

##编写新的功能
你可以在WeChatAuthDemo的基础上添加你自己的功能,完成你的App。
你可以在WeDemo的基础上添加你自己的功能,完成你的App。

###增加CGI配置
按照[ConfigItemsMaker.h](https://github.com/Tencent/WeDemo/blob/master/iOS/wechatauthdemo/Service/ConfigItemsMaker.h)的格式,增加你需要增加的CGI的配置信息,包括请求的路径,加解密算法等,参考示例如下(在[ConfigItemsMaker.h](https://github.com/Tencent/WeDemo/blob/master/iOS/wechatauthdemo/Service/ConfigItemsMaker.h)):
Expand Down Expand Up @@ -116,7 +116,7 @@ open .

###调试

WeChatAuthDemo在Debug模式下还在首页提供了一个可以修改CGI配置的调试页面,同时还在App全局提供摇一摇手势呼出日志窗口,你还可以在他们上面集成其它调试工具如[FLEX](https://github.com/Flipboard/FLEX)等, enjoy! **:-)**
WeDemo在Debug模式下还在首页提供了一个可以修改CGI配置的调试页面,同时还在App全局提供摇一摇手势呼出日志窗口,你还可以在他们上面集成其它调试工具如[FLEX](https://github.com/Flipboard/FLEX)等, enjoy! **:-)**

![](https://raw.githubusercontent.com/weixin-open/WeChatAuthDemo/master/doc/image/Index.jpg)|![](https://raw.githubusercontent.com/weixin-open/WeChatAuthDemo/master/doc/image/Debug.jpg)
-------|-------
Expand Down
8 changes: 4 additions & 4 deletions doc/Php_Integration_Guide.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<h1 align='center'>WeChatAuthDemo后台(PHP)接入指南</h1>
<h1 align='center'> WeDemo后台(PHP)接入指南</h1>

##目录

Expand All @@ -19,7 +19,7 @@

##1. 概要

WeChatAuthDemo除了具有演示客户端,服务器如何安全的接入微信服务的作用,还提供了一套[安全的通信方式](https://github.com/Tencent/WeDemo/wiki/微信Auth-Demo-App交互时序说明文档)供开发者使用以快速搭建自己的App。本文为PHP端接入指南,客户端接入指南详见[WeChatAuthDemo客户端接入指南](https://github.com/weixin-open/WeChatAuthDemo/wiki/WeChatAuthDemo客户端接入指南)
WeDemo除了具有演示客户端,服务器如何安全的接入微信服务的作用,还提供了一套[安全的通信方式](https://github.com/Tencent/WeDemo/wiki/微信Auth-Demo-App交互时序说明文档)供开发者使用以快速搭建自己的App。本文为PHP端接入指南,客户端接入指南详见[WeDemo客户端接入指南](https://github.com/weixin-open/WeChatAuthDemo/wiki/WeChatAuthDemo客户端接入指南)

##2. 获取源代码

Expand Down Expand Up @@ -95,7 +95,7 @@ chmod 744 YourDatabaseDir

###3.5 修改RSA密钥路径及文件名

**注意,我们这里强烈建议使用2048位以上的钥匙对,具体生成密钥指南详见**[WeChatAuthDemo生成密钥与自签名证书指南](https://github.com/Tencent/WeDemo/wiki/WeChatAuthDemo生成密钥与自签名证书指南)
**注意,我们这里强烈建议使用2048位以上的钥匙对,具体生成密钥指南详见**[WeDemo生成密钥与自签名证书指南](https://github.com/Tencent/WeDemo/wiki/WeChatAuthDemo生成密钥与自签名证书指南)

![步骤图:修改RSA密钥路径及文件名](https://raw.githubusercontent.com/weixin-open/WeChatAuthDemo/master/doc/image/config_step4.jpg)

Expand All @@ -119,7 +119,7 @@ chmod 744 YourDatabaseDir

##4. 编写新的功能

开发者可以在WeChatAuthDemo的基础上添加新的功能,完善服务端功能。
开发者可以在WeDemo的基础上添加新的功能,完善服务端功能。

###4.1 编写新的action

Expand Down
2 changes: 1 addition & 1 deletion doc/RSAKey_Cert_Generate_Guide.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<h1 align='center'>WeChatAuthDemo生成密钥与自签名证书指南</h1>
<h1 align='center'> WeDemo生成密钥与自签名证书指南</h1>

##目录

Expand Down
2 changes: 1 addition & 1 deletion doc/Sequence.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<h1 align=center>微信Auth Demo App交互时序说明文档</center></h1>
<h1 align=center>WeDemo App交互时序说明文档</center></h1>

##目录
* [一、建立登录前安全信道](#wow1)
Expand Down

0 comments on commit 5848907

Please sign in to comment.