資源簡介
QQ第三方登錄,類似下圖的功能
代碼片段和文件信息
using?System;
using?GeRenXing.OpenPlatform;
using?OpenPlatform.Tool.Commom;
namespace?OpenPlatform.Tool
{
????///?
????///?Description:?IOAuth接口
????///?Author:?美麗的地球
????///?Email:?sanxia330@qq.com
????///?QQ:?1851690435
????///?
????public?interface?IOAuthClient
????{
????????AuthOption?Option?{?get;?}
????????AuthToken?Token?{?get;?}
????????IUserInterface?User?{?get;?}
????????String?GetAuthorizeUrl(ResponseType?responseType);
????????AuthToken?GetAccessTokenByAuthorizationCode(string?code);
????????AuthToken?GetAccessTokenByPassword(string?passport?string?password);
????????AuthToken?GetAccessTokenByRefreshToken(string?refreshToken);
????????String?Get(String?url?params?RequestOption[]?options);
????????String?Post(String?url?params?RequestOption[]?options)
?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????文件???????1005??2016-03-13?23:42??OpenPlatformOAuth2\OpenPlatform.Tool\Commom\AuthOption.cs
?????文件????????778??2016-03-13?23:42??OpenPlatformOAuth2\OpenPlatform.Tool\Commom\AuthToken.cs
?????文件???????1765??2016-03-13?23:42??OpenPlatformOAuth2\OpenPlatform.Tool\Commom\RequestOption.cs
?????文件????????761??2016-03-13?23:42??OpenPlatformOAuth2\OpenPlatform.Tool\Commom\UserProfile.cs
?????文件????????828??2016-03-13?23:42??OpenPlatformOAuth2\OpenPlatform.Tool\IOAuthClient.cs
?????文件????????298??2016-03-13?23:42??OpenPlatformOAuth2\OpenPlatform.Tool\IUserInterface.cs
?????文件??????10884??2016-03-13?23:42??OpenPlatformOAuth2\OpenPlatform.Tool\OAuthClient\OAuthClient.cs
?????文件???????3445??2016-03-13?23:42??OpenPlatformOAuth2\OpenPlatform.Tool\OAuthClient\SinaWeiBo\SinaWeiBoClient.cs
?????文件???????4112??2016-03-13?23:42??OpenPlatformOAuth2\OpenPlatform.Tool\OAuthClient\SinaWeiBo\SinaWeiBoUserImpl.cs
?????文件???????4467??2016-03-13?23:42??OpenPlatformOAuth2\OpenPlatform.Tool\OAuthClient\TaoBao\TaoBaoClient.cs
?????文件???????1597??2016-03-13?23:42??OpenPlatformOAuth2\OpenPlatform.Tool\OAuthClient\TaoBao\TaoBaoUserImpl.cs
?????文件???????6547??2016-03-13?23:42??OpenPlatformOAuth2\OpenPlatform.Tool\OAuthClient\TencentQQ\TencentQQClient.cs
?????文件???????2892??2016-03-13?23:42??OpenPlatformOAuth2\OpenPlatform.Tool\OAuthClient\TencentQQ\TencentQQUserImpl.cs
?????文件???????6641??2016-03-13?23:41??OpenPlatformOAuth2\OpenPlatform.Tool\obj\Debug\DesignTimeResolveAssemblyReferencesInput.cache
?????文件??????????0??2016-03-13?23:34??OpenPlatformOAuth2\OpenPlatform.Tool\obj\Debug\TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs
?????文件??????????0??2016-03-13?23:34??OpenPlatformOAuth2\OpenPlatform.Tool\obj\Debug\TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs
?????文件??????????0??2016-03-13?23:34??OpenPlatformOAuth2\OpenPlatform.Tool\obj\Debug\TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs
?????文件???????3275??2016-03-13?23:42??OpenPlatformOAuth2\OpenPlatform.Tool\OpenPlatform.Tool.csproj
?????文件???????1354??2016-03-13?23:34??OpenPlatformOAuth2\OpenPlatform.Tool\Properties\AssemblyInfo.cs
?????文件???????7528??2016-03-13?23:42??OpenPlatformOAuth2\OpenPlatform.Tool\Utils\DynamicHelper.cs
?????文件??????12560??2016-03-13?23:42??OpenPlatformOAuth2\OpenPlatform.Tool\Utils\HttpWebClient.cs
?????文件????????282??2016-03-13?23:33??OpenPlatformOAuth2\OpenPlatform.Web\App_Start\FilterConfig.cs
?????文件????????607??2016-03-13?23:33??OpenPlatformOAuth2\OpenPlatform.Web\App_Start\RouteConfig.cs
????.......????374784??2016-03-13?23:33??OpenPlatformOAuth2\OpenPlatform.Web\bin\Newtonsoft.Json.dll
?????文件??????10729??2016-03-15?23:33??OpenPlatformOAuth2\OpenPlatform.Web\Common\xm
?????文件???????4726??2016-03-15?23:49??OpenPlatformOAuth2\OpenPlatform.Web\Common\xm
?????文件??????19923??2016-03-13?23:56??OpenPlatformOAuth2\OpenPlatform.Web\Content\Image\icon-auth.6998d4.png
?????文件???????3683??2016-03-16?02:26??OpenPlatformOAuth2\OpenPlatform.Web\Controllers\HomeController.cs
?????文件????????341??2016-03-16?00:33??OpenPlatformOAuth2\OpenPlatform.Web\Dataxm
?????文件????????108??2016-03-13?23:33??OpenPlatformOAuth2\OpenPlatform.Web\Global.asax
............此處省略58個文件信息
- 上一篇:開發opcserver(含源碼)
- 下一篇:C# 獲取當前電腦登錄的QQ賬號最新可用
評論
共有 條評論