@ViewBag.Title.
6 | Associate your @ViewBag.LoginProvider account.
7 |
8 | @using (Html.BeginForm("ExternalLoginConfirmation", "Account", new { ReturnUrl = ViewBag.ReturnUrl }, FormMethod.Post, new { @class = "form-horizontal", role = "form" }))
9 | {
10 | @Html.AntiForgeryToken()
11 |
12 | Association Form
13 |
14 | @Html.ValidationSummary(true)
15 |
16 | You've successfully authenticated with @ViewBag.LoginProvider.
17 | Please enter a user name for this site below and click the Register button to finish
18 | logging in.
19 |
20 |
27 |
32 | }
33 |
34 | @section Scripts {
35 | @Scripts.Render("~/bundles/jqueryval")
36 | }
37 |
--------------------------------------------------------------------------------
/OwinOAuthProvidersDemo/Views/Account/ExternalLoginFailure.cshtml:
--------------------------------------------------------------------------------
1 | @{
2 | ViewBag.Title = "Login Failure";
3 | }
4 |
5 | @ViewBag.Title.
6 | Unsuccessful login with service.
7 |
--------------------------------------------------------------------------------
/OwinOAuthProvidersDemo/Views/Account/Login.cshtml:
--------------------------------------------------------------------------------
1 | @model OwinOAuthProvidersDemo.Models.LoginViewModel
2 |
3 | @{
4 | ViewBag.Title = "Log in";
5 | }
6 |
7 | @ViewBag.Title.
8 |
56 | @section Scripts {
57 | @Scripts.Render("~/bundles/jqueryval")
58 | }
--------------------------------------------------------------------------------
/OwinOAuthProvidersDemo/Views/Account/Manage.cshtml:
--------------------------------------------------------------------------------
1 | @using OwinOAuthProvidersDemo.Models;
2 | @using Microsoft.AspNet.Identity;
3 | @{
4 | ViewBag.Title = "Manage Account";
5 | }
6 |
7 | @ViewBag.Title.
8 |
9 | @ViewBag.StatusMessage
10 |
11 |
12 | @if (ViewBag.HasLocalPassword)
13 | {
14 | @Html.Partial("_ChangePasswordPartial")
15 | }
16 | else
17 | {
18 | @Html.Partial("_SetPasswordPartial")
19 | }
20 |
21 |
22 | @Html.Action("RemoveAccountList")
23 | @Html.Partial("_ExternalLoginsListPartial", new { Action = "LinkLogin", ReturnUrl = ViewBag.ReturnUrl })
24 |
25 |
26 |
27 | @section Scripts {
28 | @Scripts.Render("~/bundles/jqueryval")
29 | }
30 |
--------------------------------------------------------------------------------
/OwinOAuthProvidersDemo/Views/Account/Register.cshtml:
--------------------------------------------------------------------------------
1 | @model OwinOAuthProvidersDemo.Models.RegisterViewModel
2 | @{
3 | ViewBag.Title = "Register";
4 | }
5 |
6 | @ViewBag.Title.
7 |
8 | @using (Html.BeginForm("Register", "Account", FormMethod.Post, new { @class = "form-horizontal", role = "form" }))
9 | {
10 | @Html.AntiForgeryToken()
11 | Create a new account.
12 |
13 | @Html.ValidationSummary()
14 |
20 |
26 |
32 |
37 | }
38 |
39 | @section Scripts {
40 | @Scripts.Render("~/bundles/jqueryval")
41 | }
42 |
--------------------------------------------------------------------------------
/OwinOAuthProvidersDemo/Views/Account/_ChangePasswordPartial.cshtml:
--------------------------------------------------------------------------------
1 | @using Microsoft.AspNet.Identity
2 | @model OwinOAuthProvidersDemo.Models.ManageUserViewModel
3 |
4 | You're logged in as @User.Identity.GetUserName().
5 |
6 | @using (Html.BeginForm("Manage", "Account", FormMethod.Post, new { @class = "form-horizontal", role = "form" }))
7 | {
8 | @Html.AntiForgeryToken()
9 | Change Password Form
10 |
11 | @Html.ValidationSummary()
12 |
18 |
24 |
30 |
31 |
36 | }
37 |
--------------------------------------------------------------------------------
/OwinOAuthProvidersDemo/Views/Account/_ExternalLoginsListPartial.cshtml:
--------------------------------------------------------------------------------
1 | @using Microsoft.Owin.Security
2 |
3 | Use another service to log in.
4 |
5 | @{
6 | var loginProviders = Context.GetOwinContext().Authentication.GetExternalAuthenticationTypes();
7 | if (loginProviders.Count() == 0)
8 | {
9 |
10 |
11 | There are no external authentication services configured. See this article
12 | for details on setting up this ASP.NET application to support logging in via external services.
13 |
14 |
15 | }
16 | else
17 | {
18 | string action = Model.Action;
19 | string returnUrl = Model.ReturnUrl;
20 | using (Html.BeginForm(action, "Account", new { ReturnUrl = returnUrl }))
21 | {
22 | @Html.AntiForgeryToken()
23 |
24 |
25 | @foreach (AuthenticationDescription p in loginProviders)
26 | {
27 |
28 | }
29 |
30 |
31 | }
32 | }
33 | }
34 |
--------------------------------------------------------------------------------
/OwinOAuthProvidersDemo/Views/Account/_RemoveAccountPartial.cshtml:
--------------------------------------------------------------------------------
1 | @model ICollection
2 |
3 | @if (Model.Count > 0)
4 | {
5 | Registered Logins
6 |
34 | }
35 |
--------------------------------------------------------------------------------
/OwinOAuthProvidersDemo/Views/Account/_SetPasswordPartial.cshtml:
--------------------------------------------------------------------------------
1 | @model OwinOAuthProvidersDemo.Models.ManageUserViewModel
2 |
3 |
4 | You do not have a local username/password for this site. Add a local
5 | account so you can log in without an external login.
6 |
7 |
8 | @using (Html.BeginForm("Manage", "Account", FormMethod.Post, new { @class = "form-horizontal", role = "form" }))
9 | {
10 | @Html.AntiForgeryToken()
11 |
12 | Create Local Login
13 |
14 | @Html.ValidationSummary()
15 |
21 |
27 |
32 | }
33 |
--------------------------------------------------------------------------------
/OwinOAuthProvidersDemo/Views/Home/About.cshtml:
--------------------------------------------------------------------------------
1 | @{
2 | ViewBag.Title = "About";
3 | }
4 | @ViewBag.Title.
5 | @ViewBag.Message
6 |
7 | Use this area to provide additional information.
8 |
--------------------------------------------------------------------------------
/OwinOAuthProvidersDemo/Views/Home/Contact.cshtml:
--------------------------------------------------------------------------------
1 | @{
2 | ViewBag.Title = "Contact";
3 | }
4 | @ViewBag.Title.
5 | @ViewBag.Message
6 |
7 |
8 | One Microsoft Way
9 | Redmond, WA 98052-6399
10 | P:
11 | 425.555.0100
12 |
13 |
14 |
15 | Support: Support@example.com
16 | Marketing: Marketing@example.com
17 |
--------------------------------------------------------------------------------
/OwinOAuthProvidersDemo/Views/Home/Index.cshtml:
--------------------------------------------------------------------------------
1 | @{
2 | ViewBag.Title = "Home Page";
3 | }
4 |
5 |
6 |
ASP.NET
7 |
ASP.NET is a free web framework for building great Web sites and Web applications using HTML, CSS and JavaScript.
8 |
Learn more »
9 |
10 |
11 |
12 |
13 |
Getting started
14 |
15 | ASP.NET MVC gives you a powerful, patterns-based way to build dynamic websites that
16 | enables a clean separation of concerns and gives you full control over markup
17 | for enjoyable, agile development.
18 |
19 |
Learn more »
20 |
21 |
22 |
Get more libraries
23 |
NuGet is a free Visual Studio extension that makes it easy to add, remove, and update libraries and tools in Visual Studio projects.
24 |
Learn more »
25 |
26 |
27 |
Web Hosting
28 |
You can easily find a web hosting company that offers the right mix of features and price for your applications.
29 |
Learn more »
30 |
31 |
--------------------------------------------------------------------------------
/OwinOAuthProvidersDemo/Views/Shared/Error.cshtml:
--------------------------------------------------------------------------------
1 | @model System.Web.Mvc.HandleErrorInfo
2 |
3 | @{
4 | ViewBag.Title = "Error";
5 | }
6 |
7 | Error.
8 | An error occurred while processing your request.
9 |
10 |
--------------------------------------------------------------------------------
/OwinOAuthProvidersDemo/Views/Shared/_Layout.cshtml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 | @ViewBag.Title - My ASP.NET Application
8 | @Styles.Render("~/Content/css")
9 | @Scripts.Render("~/bundles/modernizr")
10 |
11 |
12 |
13 |
14 |
15 |
23 |
24 |
25 | - @Html.ActionLink("Home", "Index", "Home")
26 | - @Html.ActionLink("About", "About", "Home")
27 | - @Html.ActionLink("Contact", "Contact", "Home")
28 |
29 | @Html.Partial("_LoginPartial")
30 |
31 |
32 |
33 |
34 | @RenderBody()
35 |
36 |
39 |
40 |
41 | @Scripts.Render("~/bundles/jquery")
42 | @Scripts.Render("~/bundles/bootstrap")
43 | @RenderSection("scripts", required: false)
44 |
45 |
46 |
--------------------------------------------------------------------------------
/OwinOAuthProvidersDemo/Views/Shared/_LoginPartial.cshtml:
--------------------------------------------------------------------------------
1 | @using Microsoft.AspNet.Identity
2 | @if (Request.IsAuthenticated)
3 | {
4 | using (Html.BeginForm("LogOff", "Account", FormMethod.Post, new { id = "logoutForm", @class = "navbar-right" }))
5 | {
6 | @Html.AntiForgeryToken()
7 |
8 |
9 | -
10 | @Html.ActionLink("Hello " + User.Identity.GetUserName() + "!", "Manage", "Account", routeValues: null, htmlAttributes: new { title = "Manage" })
11 |
12 | - Log off
13 |
14 | }
15 | }
16 | else
17 | {
18 |
19 | - @Html.ActionLink("Register", "Register", "Account", routeValues: null, htmlAttributes: new { id = "registerLink" })
20 | - @Html.ActionLink("Log in", "Login", "Account", routeValues: null, htmlAttributes: new { id = "loginLink" })
21 |
22 | }
23 |
--------------------------------------------------------------------------------
/OwinOAuthProvidersDemo/Views/Web.config:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
29 |
30 |
31 |
32 |
33 |
34 |
35 |
36 |
--------------------------------------------------------------------------------
/OwinOAuthProvidersDemo/Views/_ViewStart.cshtml:
--------------------------------------------------------------------------------
1 | @{
2 | Layout = "~/Views/Shared/_Layout.cshtml";
3 | }
4 |
--------------------------------------------------------------------------------
/OwinOAuthProvidersDemo/Web.Debug.config:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
17 |
18 |
29 |
30 |
31 |
--------------------------------------------------------------------------------
/OwinOAuthProvidersDemo/Web.Release.config:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
17 |
18 |
19 |
30 |
31 |
32 |
--------------------------------------------------------------------------------
/OwinOAuthProvidersDemo/Web.config:
--------------------------------------------------------------------------------
1 |
2 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
29 |
30 |
31 |
32 |
33 |
34 |
35 |
36 |
37 |
38 |
39 |
40 |
41 |
42 |
43 |
44 |
45 |
46 |
47 |
48 |
49 |
50 |
51 |
52 |
53 |
54 |
55 |
56 |
57 |
58 |
59 |
60 |
61 |
62 |
63 |
64 |
65 |
66 |
67 |
68 |
69 |
70 |
71 |
72 |
73 |
74 |
75 |
76 |
77 |
78 |
79 |
80 |
81 |
82 |
83 |
84 |
85 |
86 |
87 |
88 |
89 |
--------------------------------------------------------------------------------
/OwinOAuthProvidersDemo/bin/Antlr3.Runtime.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/xiaoyaojian/OwinOAuthProvider/ae978917436f90f284d283b48cbd1513cb2a5a47/OwinOAuthProvidersDemo/bin/Antlr3.Runtime.dll
--------------------------------------------------------------------------------
/OwinOAuthProvidersDemo/bin/Antlr3.Runtime.pdb:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/xiaoyaojian/OwinOAuthProvider/ae978917436f90f284d283b48cbd1513cb2a5a47/OwinOAuthProvidersDemo/bin/Antlr3.Runtime.pdb
--------------------------------------------------------------------------------
/OwinOAuthProvidersDemo/bin/EntityFramework.SqlServer.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/xiaoyaojian/OwinOAuthProvider/ae978917436f90f284d283b48cbd1513cb2a5a47/OwinOAuthProvidersDemo/bin/EntityFramework.SqlServer.dll
--------------------------------------------------------------------------------
/OwinOAuthProvidersDemo/bin/EntityFramework.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/xiaoyaojian/OwinOAuthProvider/ae978917436f90f284d283b48cbd1513cb2a5a47/OwinOAuthProvidersDemo/bin/EntityFramework.dll
--------------------------------------------------------------------------------
/OwinOAuthProvidersDemo/bin/Microsoft.AspNet.Identity.Core.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/xiaoyaojian/OwinOAuthProvider/ae978917436f90f284d283b48cbd1513cb2a5a47/OwinOAuthProvidersDemo/bin/Microsoft.AspNet.Identity.Core.dll
--------------------------------------------------------------------------------
/OwinOAuthProvidersDemo/bin/Microsoft.AspNet.Identity.EntityFramework.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/xiaoyaojian/OwinOAuthProvider/ae978917436f90f284d283b48cbd1513cb2a5a47/OwinOAuthProvidersDemo/bin/Microsoft.AspNet.Identity.EntityFramework.dll
--------------------------------------------------------------------------------
/OwinOAuthProvidersDemo/bin/Microsoft.AspNet.Identity.Owin.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/xiaoyaojian/OwinOAuthProvider/ae978917436f90f284d283b48cbd1513cb2a5a47/OwinOAuthProvidersDemo/bin/Microsoft.AspNet.Identity.Owin.dll
--------------------------------------------------------------------------------
/OwinOAuthProvidersDemo/bin/Microsoft.Owin.Host.SystemWeb.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/xiaoyaojian/OwinOAuthProvider/ae978917436f90f284d283b48cbd1513cb2a5a47/OwinOAuthProvidersDemo/bin/Microsoft.Owin.Host.SystemWeb.dll
--------------------------------------------------------------------------------
/OwinOAuthProvidersDemo/bin/Microsoft.Owin.Security.Cookies.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/xiaoyaojian/OwinOAuthProvider/ae978917436f90f284d283b48cbd1513cb2a5a47/OwinOAuthProvidersDemo/bin/Microsoft.Owin.Security.Cookies.dll
--------------------------------------------------------------------------------
/OwinOAuthProvidersDemo/bin/Microsoft.Owin.Security.Facebook.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/xiaoyaojian/OwinOAuthProvider/ae978917436f90f284d283b48cbd1513cb2a5a47/OwinOAuthProvidersDemo/bin/Microsoft.Owin.Security.Facebook.dll
--------------------------------------------------------------------------------
/OwinOAuthProvidersDemo/bin/Microsoft.Owin.Security.Google.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/xiaoyaojian/OwinOAuthProvider/ae978917436f90f284d283b48cbd1513cb2a5a47/OwinOAuthProvidersDemo/bin/Microsoft.Owin.Security.Google.dll
--------------------------------------------------------------------------------
/OwinOAuthProvidersDemo/bin/Microsoft.Owin.Security.MicrosoftAccount.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/xiaoyaojian/OwinOAuthProvider/ae978917436f90f284d283b48cbd1513cb2a5a47/OwinOAuthProvidersDemo/bin/Microsoft.Owin.Security.MicrosoftAccount.dll
--------------------------------------------------------------------------------
/OwinOAuthProvidersDemo/bin/Microsoft.Owin.Security.OAuth.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/xiaoyaojian/OwinOAuthProvider/ae978917436f90f284d283b48cbd1513cb2a5a47/OwinOAuthProvidersDemo/bin/Microsoft.Owin.Security.OAuth.dll
--------------------------------------------------------------------------------
/OwinOAuthProvidersDemo/bin/Microsoft.Owin.Security.Sina.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/xiaoyaojian/OwinOAuthProvider/ae978917436f90f284d283b48cbd1513cb2a5a47/OwinOAuthProvidersDemo/bin/Microsoft.Owin.Security.Sina.dll
--------------------------------------------------------------------------------
/OwinOAuthProvidersDemo/bin/Microsoft.Owin.Security.Sina.pdb:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/xiaoyaojian/OwinOAuthProvider/ae978917436f90f284d283b48cbd1513cb2a5a47/OwinOAuthProvidersDemo/bin/Microsoft.Owin.Security.Sina.pdb
--------------------------------------------------------------------------------
/OwinOAuthProvidersDemo/bin/Microsoft.Owin.Security.Tencent.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/xiaoyaojian/OwinOAuthProvider/ae978917436f90f284d283b48cbd1513cb2a5a47/OwinOAuthProvidersDemo/bin/Microsoft.Owin.Security.Tencent.dll
--------------------------------------------------------------------------------
/OwinOAuthProvidersDemo/bin/Microsoft.Owin.Security.Tencent.pdb:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/xiaoyaojian/OwinOAuthProvider/ae978917436f90f284d283b48cbd1513cb2a5a47/OwinOAuthProvidersDemo/bin/Microsoft.Owin.Security.Tencent.pdb
--------------------------------------------------------------------------------
/OwinOAuthProvidersDemo/bin/Microsoft.Owin.Security.Twitter.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/xiaoyaojian/OwinOAuthProvider/ae978917436f90f284d283b48cbd1513cb2a5a47/OwinOAuthProvidersDemo/bin/Microsoft.Owin.Security.Twitter.dll
--------------------------------------------------------------------------------
/OwinOAuthProvidersDemo/bin/Microsoft.Owin.Security.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/xiaoyaojian/OwinOAuthProvider/ae978917436f90f284d283b48cbd1513cb2a5a47/OwinOAuthProvidersDemo/bin/Microsoft.Owin.Security.dll
--------------------------------------------------------------------------------
/OwinOAuthProvidersDemo/bin/Microsoft.Owin.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/xiaoyaojian/OwinOAuthProvider/ae978917436f90f284d283b48cbd1513cb2a5a47/OwinOAuthProvidersDemo/bin/Microsoft.Owin.dll
--------------------------------------------------------------------------------
/OwinOAuthProvidersDemo/bin/Microsoft.Web.Infrastructure.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/xiaoyaojian/OwinOAuthProvider/ae978917436f90f284d283b48cbd1513cb2a5a47/OwinOAuthProvidersDemo/bin/Microsoft.Web.Infrastructure.dll
--------------------------------------------------------------------------------
/OwinOAuthProvidersDemo/bin/Newtonsoft.Json.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/xiaoyaojian/OwinOAuthProvider/ae978917436f90f284d283b48cbd1513cb2a5a47/OwinOAuthProvidersDemo/bin/Newtonsoft.Json.dll
--------------------------------------------------------------------------------
/OwinOAuthProvidersDemo/bin/Owin.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/xiaoyaojian/OwinOAuthProvider/ae978917436f90f284d283b48cbd1513cb2a5a47/OwinOAuthProvidersDemo/bin/Owin.dll
--------------------------------------------------------------------------------
/OwinOAuthProvidersDemo/bin/OwinOAuthProvidersDemo.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/xiaoyaojian/OwinOAuthProvider/ae978917436f90f284d283b48cbd1513cb2a5a47/OwinOAuthProvidersDemo/bin/OwinOAuthProvidersDemo.dll
--------------------------------------------------------------------------------
/OwinOAuthProvidersDemo/bin/OwinOAuthProvidersDemo.dll.config:
--------------------------------------------------------------------------------
1 |
2 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
29 |
30 |
31 |
32 |
33 |
34 |
35 |
36 |
37 |
38 |
39 |
40 |
41 |
42 |
43 |
44 |
45 |
46 |
47 |
48 |
49 |
50 |
51 |
52 |
53 |
54 |
55 |
56 |
57 |
58 |
59 |
60 |
61 |
62 |
63 |
64 |
65 |
66 |
67 |
68 |
69 |
70 |
71 |
72 |
73 |
74 |
75 |
76 |
77 |
78 |
79 |
80 |
81 |
82 |
83 |
84 |
85 |
86 |
87 |
88 |
89 |
--------------------------------------------------------------------------------
/OwinOAuthProvidersDemo/bin/OwinOAuthProvidersDemo.pdb:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/xiaoyaojian/OwinOAuthProvider/ae978917436f90f284d283b48cbd1513cb2a5a47/OwinOAuthProvidersDemo/bin/OwinOAuthProvidersDemo.pdb
--------------------------------------------------------------------------------
/OwinOAuthProvidersDemo/bin/System.Web.Helpers.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/xiaoyaojian/OwinOAuthProvider/ae978917436f90f284d283b48cbd1513cb2a5a47/OwinOAuthProvidersDemo/bin/System.Web.Helpers.dll
--------------------------------------------------------------------------------
/OwinOAuthProvidersDemo/bin/System.Web.Mvc.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/xiaoyaojian/OwinOAuthProvider/ae978917436f90f284d283b48cbd1513cb2a5a47/OwinOAuthProvidersDemo/bin/System.Web.Mvc.dll
--------------------------------------------------------------------------------
/OwinOAuthProvidersDemo/bin/System.Web.Optimization.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/xiaoyaojian/OwinOAuthProvider/ae978917436f90f284d283b48cbd1513cb2a5a47/OwinOAuthProvidersDemo/bin/System.Web.Optimization.dll
--------------------------------------------------------------------------------
/OwinOAuthProvidersDemo/bin/System.Web.Razor.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/xiaoyaojian/OwinOAuthProvider/ae978917436f90f284d283b48cbd1513cb2a5a47/OwinOAuthProvidersDemo/bin/System.Web.Razor.dll
--------------------------------------------------------------------------------
/OwinOAuthProvidersDemo/bin/System.Web.WebPages.Deployment.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/xiaoyaojian/OwinOAuthProvider/ae978917436f90f284d283b48cbd1513cb2a5a47/OwinOAuthProvidersDemo/bin/System.Web.WebPages.Deployment.dll
--------------------------------------------------------------------------------
/OwinOAuthProvidersDemo/bin/System.Web.WebPages.Razor.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/xiaoyaojian/OwinOAuthProvider/ae978917436f90f284d283b48cbd1513cb2a5a47/OwinOAuthProvidersDemo/bin/System.Web.WebPages.Razor.dll
--------------------------------------------------------------------------------
/OwinOAuthProvidersDemo/bin/System.Web.WebPages.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/xiaoyaojian/OwinOAuthProvider/ae978917436f90f284d283b48cbd1513cb2a5a47/OwinOAuthProvidersDemo/bin/System.Web.WebPages.dll
--------------------------------------------------------------------------------
/OwinOAuthProvidersDemo/bin/WebGrease.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/xiaoyaojian/OwinOAuthProvider/ae978917436f90f284d283b48cbd1513cb2a5a47/OwinOAuthProvidersDemo/bin/WebGrease.dll
--------------------------------------------------------------------------------
/OwinOAuthProvidersDemo/favicon.ico:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/xiaoyaojian/OwinOAuthProvider/ae978917436f90f284d283b48cbd1513cb2a5a47/OwinOAuthProvidersDemo/favicon.ico
--------------------------------------------------------------------------------
/OwinOAuthProvidersDemo/fonts/glyphicons-halflings-regular.eot:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/xiaoyaojian/OwinOAuthProvider/ae978917436f90f284d283b48cbd1513cb2a5a47/OwinOAuthProvidersDemo/fonts/glyphicons-halflings-regular.eot
--------------------------------------------------------------------------------
/OwinOAuthProvidersDemo/fonts/glyphicons-halflings-regular.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/xiaoyaojian/OwinOAuthProvider/ae978917436f90f284d283b48cbd1513cb2a5a47/OwinOAuthProvidersDemo/fonts/glyphicons-halflings-regular.ttf
--------------------------------------------------------------------------------
/OwinOAuthProvidersDemo/fonts/glyphicons-halflings-regular.woff:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/xiaoyaojian/OwinOAuthProvider/ae978917436f90f284d283b48cbd1513cb2a5a47/OwinOAuthProvidersDemo/fonts/glyphicons-halflings-regular.woff
--------------------------------------------------------------------------------
/OwinOAuthProvidersDemo/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/xiaoyaojian/OwinOAuthProvider/ae978917436f90f284d283b48cbd1513cb2a5a47/OwinOAuthProvidersDemo/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache
--------------------------------------------------------------------------------
/OwinOAuthProvidersDemo/obj/Debug/OwinOAuthProvidersDemo.csprojResolveAssemblyReference.cache:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/xiaoyaojian/OwinOAuthProvider/ae978917436f90f284d283b48cbd1513cb2a5a47/OwinOAuthProvidersDemo/obj/Debug/OwinOAuthProvidersDemo.csprojResolveAssemblyReference.cache
--------------------------------------------------------------------------------
/OwinOAuthProvidersDemo/obj/Debug/OwinOAuthProvidersDemo.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/xiaoyaojian/OwinOAuthProvider/ae978917436f90f284d283b48cbd1513cb2a5a47/OwinOAuthProvidersDemo/obj/Debug/OwinOAuthProvidersDemo.dll
--------------------------------------------------------------------------------
/OwinOAuthProvidersDemo/obj/Debug/OwinOAuthProvidersDemo.pdb:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/xiaoyaojian/OwinOAuthProvider/ae978917436f90f284d283b48cbd1513cb2a5a47/OwinOAuthProvidersDemo/obj/Debug/OwinOAuthProvidersDemo.pdb
--------------------------------------------------------------------------------
/OwinOAuthProvidersDemo/obj/Debug/TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/xiaoyaojian/OwinOAuthProvider/ae978917436f90f284d283b48cbd1513cb2a5a47/OwinOAuthProvidersDemo/obj/Debug/TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs
--------------------------------------------------------------------------------
/OwinOAuthProvidersDemo/obj/Debug/TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/xiaoyaojian/OwinOAuthProvider/ae978917436f90f284d283b48cbd1513cb2a5a47/OwinOAuthProvidersDemo/obj/Debug/TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs
--------------------------------------------------------------------------------
/OwinOAuthProvidersDemo/obj/Debug/TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/xiaoyaojian/OwinOAuthProvider/ae978917436f90f284d283b48cbd1513cb2a5a47/OwinOAuthProvidersDemo/obj/Debug/TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs
--------------------------------------------------------------------------------
/OwinOAuthProvidersDemo/obj/Release/DesignTimeResolveAssemblyReferencesInput.cache:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/xiaoyaojian/OwinOAuthProvider/ae978917436f90f284d283b48cbd1513cb2a5a47/OwinOAuthProvidersDemo/obj/Release/DesignTimeResolveAssemblyReferencesInput.cache
--------------------------------------------------------------------------------
/OwinOAuthProvidersDemo/obj/Release/TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/xiaoyaojian/OwinOAuthProvider/ae978917436f90f284d283b48cbd1513cb2a5a47/OwinOAuthProvidersDemo/obj/Release/TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs
--------------------------------------------------------------------------------
/OwinOAuthProvidersDemo/obj/Release/TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/xiaoyaojian/OwinOAuthProvider/ae978917436f90f284d283b48cbd1513cb2a5a47/OwinOAuthProvidersDemo/obj/Release/TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs
--------------------------------------------------------------------------------
/OwinOAuthProvidersDemo/obj/Release/TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/xiaoyaojian/OwinOAuthProvider/ae978917436f90f284d283b48cbd1513cb2a5a47/OwinOAuthProvidersDemo/obj/Release/TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs
--------------------------------------------------------------------------------
/OwinOAuthProvidersDemo/obj/Release/build.force:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/xiaoyaojian/OwinOAuthProvider/ae978917436f90f284d283b48cbd1513cb2a5a47/OwinOAuthProvidersDemo/obj/Release/build.force
--------------------------------------------------------------------------------
/OwinOAuthProvidersDemo/packages.config:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
--------------------------------------------------------------------------------
/README.md:
--------------------------------------------------------------------------------
1 | #Sina and Tencent open authentication provider of OWIN#
2 | ##Installation##
3 | Use following command to install each package in your project
4 | `Install-Package Microsoft.Owin.Security.Sina` and
5 | `Install-Package Microsoft.Owin.Security.Tencent`
6 | ##Getting Started##
7 | Before you use these package,i assume you already created your own application in [connect.qq.com](http://connect.qq.com/ "Open QQ") or [open.weibo.com](https://open.weibo.com/ "Open Weibo").
8 |
9 | 1. Create an asp.net 5 web application ,and select 'MVC' template.do not change authentication setting.
10 | 2. Install these providers
11 | 3. Open `Startup.Auth.cs` file,add following namespaces
12 | 1. `Microsoft.Owin.Security.Sina`
13 | 2. `Microsoft.Owin.Security.Tencent`
14 | 4. add following code section with your 'appId' and 'secretId'.
15 | 1. `app.UseSinaAuthentication("YOUR APP ID", "YOUR SECRET ID");`
16 | 2. `app.UseTencentAuthentication("YOUR APP ID", "YOUR SECRET ID");`
17 | 5. Try to run your application with the domain address you designated in management center of each open platform
18 |
--------------------------------------------------------------------------------
/packages/Antlr.3.5.0.2/Antlr.3.5.0.2.nupkg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/xiaoyaojian/OwinOAuthProvider/ae978917436f90f284d283b48cbd1513cb2a5a47/packages/Antlr.3.5.0.2/Antlr.3.5.0.2.nupkg
--------------------------------------------------------------------------------
/packages/Antlr.3.5.0.2/lib/Antlr3.Runtime.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/xiaoyaojian/OwinOAuthProvider/ae978917436f90f284d283b48cbd1513cb2a5a47/packages/Antlr.3.5.0.2/lib/Antlr3.Runtime.dll
--------------------------------------------------------------------------------
/packages/Antlr.3.5.0.2/lib/Antlr3.Runtime.pdb:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/xiaoyaojian/OwinOAuthProvider/ae978917436f90f284d283b48cbd1513cb2a5a47/packages/Antlr.3.5.0.2/lib/Antlr3.Runtime.pdb
--------------------------------------------------------------------------------
/packages/EntityFramework.6.1.1/EntityFramework.6.1.1.nupkg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/xiaoyaojian/OwinOAuthProvider/ae978917436f90f284d283b48cbd1513cb2a5a47/packages/EntityFramework.6.1.1/EntityFramework.6.1.1.nupkg
--------------------------------------------------------------------------------
/packages/EntityFramework.6.1.1/content/App.config.transform:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
--------------------------------------------------------------------------------
/packages/EntityFramework.6.1.1/content/Web.config.transform:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
--------------------------------------------------------------------------------
/packages/EntityFramework.6.1.1/lib/net40/EntityFramework.SqlServer.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/xiaoyaojian/OwinOAuthProvider/ae978917436f90f284d283b48cbd1513cb2a5a47/packages/EntityFramework.6.1.1/lib/net40/EntityFramework.SqlServer.dll
--------------------------------------------------------------------------------
/packages/EntityFramework.6.1.1/lib/net40/EntityFramework.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/xiaoyaojian/OwinOAuthProvider/ae978917436f90f284d283b48cbd1513cb2a5a47/packages/EntityFramework.6.1.1/lib/net40/EntityFramework.dll
--------------------------------------------------------------------------------
/packages/EntityFramework.6.1.1/lib/net45/EntityFramework.SqlServer.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/xiaoyaojian/OwinOAuthProvider/ae978917436f90f284d283b48cbd1513cb2a5a47/packages/EntityFramework.6.1.1/lib/net45/EntityFramework.SqlServer.dll
--------------------------------------------------------------------------------
/packages/EntityFramework.6.1.1/lib/net45/EntityFramework.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/xiaoyaojian/OwinOAuthProvider/ae978917436f90f284d283b48cbd1513cb2a5a47/packages/EntityFramework.6.1.1/lib/net45/EntityFramework.dll
--------------------------------------------------------------------------------
/packages/EntityFramework.6.1.1/tools/EntityFramework.PowerShell.Utility.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/xiaoyaojian/OwinOAuthProvider/ae978917436f90f284d283b48cbd1513cb2a5a47/packages/EntityFramework.6.1.1/tools/EntityFramework.PowerShell.Utility.dll
--------------------------------------------------------------------------------
/packages/EntityFramework.6.1.1/tools/EntityFramework.PowerShell.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/xiaoyaojian/OwinOAuthProvider/ae978917436f90f284d283b48cbd1513cb2a5a47/packages/EntityFramework.6.1.1/tools/EntityFramework.PowerShell.dll
--------------------------------------------------------------------------------
/packages/EntityFramework.6.1.1/tools/EntityFramework.psd1:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/xiaoyaojian/OwinOAuthProvider/ae978917436f90f284d283b48cbd1513cb2a5a47/packages/EntityFramework.6.1.1/tools/EntityFramework.psd1
--------------------------------------------------------------------------------
/packages/EntityFramework.6.1.1/tools/about_EntityFramework.help.txt:
--------------------------------------------------------------------------------
1 | TOPIC
2 | about_EntityFramework
3 |
4 | SHORT DESCRIPTION
5 | Provides information about Entity Framework commands.
6 |
7 | LONG DESCRIPTION
8 | This topic describes the Entity Framework commands. Entity Framework is
9 | Microsoft's recommended data access technology for new applications.
10 |
11 | The following Entity Framework cmdlets are used with Entity Framework
12 | Migrations.
13 |
14 | Cmdlet Description
15 | ----------------- ---------------------------------------------------
16 | Enable-Migrations Enables Code First Migrations in a project.
17 |
18 | Add-Migration Scaffolds a migration script for any pending model
19 | changes.
20 |
21 | Update-Database Applies any pending migrations to the database.
22 |
23 | Get-Migrations Displays the migrations that have been applied to
24 | the target database.
25 |
26 | The following Entity Framework cmdlets are used by NuGet packages that
27 | install Entity Framework providers. These commands are not usually used as
28 | part of normal application development.
29 |
30 | Cmdlet Description
31 | ------------------------------ ---------------------------------------
32 | Add-EFProvider Adds or updates an Entity Framework
33 | provider entry in the project config
34 | file.
35 |
36 | Add-EFDefaultConnectionFactory Adds or updates an Entity Framework
37 | default connection factory in the
38 | project config file.
39 |
40 | Initialize-EFConfiguration Initializes the Entity Framework
41 | section in the project config file and
42 | sets defaults.
43 |
44 | SEE ALSO
45 | Enable-Migrations
46 | Add-Migration
47 | Update-Database
48 | Get-Migrations
49 |
--------------------------------------------------------------------------------
/packages/EntityFramework.6.1.1/tools/migrate.exe:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/xiaoyaojian/OwinOAuthProvider/ae978917436f90f284d283b48cbd1513cb2a5a47/packages/EntityFramework.6.1.1/tools/migrate.exe
--------------------------------------------------------------------------------
/packages/Microsoft.AspNet.Identity.Core.2.2.1/Microsoft.AspNet.Identity.Core.2.2.1.nupkg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/xiaoyaojian/OwinOAuthProvider/ae978917436f90f284d283b48cbd1513cb2a5a47/packages/Microsoft.AspNet.Identity.Core.2.2.1/Microsoft.AspNet.Identity.Core.2.2.1.nupkg
--------------------------------------------------------------------------------
/packages/Microsoft.AspNet.Identity.Core.2.2.1/lib/net45/Microsoft.AspNet.Identity.Core.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/xiaoyaojian/OwinOAuthProvider/ae978917436f90f284d283b48cbd1513cb2a5a47/packages/Microsoft.AspNet.Identity.Core.2.2.1/lib/net45/Microsoft.AspNet.Identity.Core.dll
--------------------------------------------------------------------------------
/packages/Microsoft.AspNet.Identity.EntityFramework.2.1.0/Microsoft.AspNet.Identity.EntityFramework.2.1.0.nupkg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/xiaoyaojian/OwinOAuthProvider/ae978917436f90f284d283b48cbd1513cb2a5a47/packages/Microsoft.AspNet.Identity.EntityFramework.2.1.0/Microsoft.AspNet.Identity.EntityFramework.2.1.0.nupkg
--------------------------------------------------------------------------------
/packages/Microsoft.AspNet.Identity.EntityFramework.2.1.0/lib/net45/Microsoft.AspNet.Identity.EntityFramework.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/xiaoyaojian/OwinOAuthProvider/ae978917436f90f284d283b48cbd1513cb2a5a47/packages/Microsoft.AspNet.Identity.EntityFramework.2.1.0/lib/net45/Microsoft.AspNet.Identity.EntityFramework.dll
--------------------------------------------------------------------------------
/packages/Microsoft.AspNet.Identity.Owin.2.2.1/Microsoft.AspNet.Identity.Owin.2.2.1.nupkg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/xiaoyaojian/OwinOAuthProvider/ae978917436f90f284d283b48cbd1513cb2a5a47/packages/Microsoft.AspNet.Identity.Owin.2.2.1/Microsoft.AspNet.Identity.Owin.2.2.1.nupkg
--------------------------------------------------------------------------------
/packages/Microsoft.AspNet.Identity.Owin.2.2.1/lib/net45/Microsoft.AspNet.Identity.Owin.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/xiaoyaojian/OwinOAuthProvider/ae978917436f90f284d283b48cbd1513cb2a5a47/packages/Microsoft.AspNet.Identity.Owin.2.2.1/lib/net45/Microsoft.AspNet.Identity.Owin.dll
--------------------------------------------------------------------------------
/packages/Microsoft.AspNet.Mvc.5.2.0/Content/Web.config.install.xdt:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
29 |
30 |
31 |
32 |
33 |
34 |
--------------------------------------------------------------------------------
/packages/Microsoft.AspNet.Mvc.5.2.0/Content/Web.config.uninstall.xdt:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
7 |
8 |
9 |
10 |
--------------------------------------------------------------------------------
/packages/Microsoft.AspNet.Mvc.5.2.0/Microsoft.AspNet.Mvc.5.2.0.nupkg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/xiaoyaojian/OwinOAuthProvider/ae978917436f90f284d283b48cbd1513cb2a5a47/packages/Microsoft.AspNet.Mvc.5.2.0/Microsoft.AspNet.Mvc.5.2.0.nupkg
--------------------------------------------------------------------------------
/packages/Microsoft.AspNet.Mvc.5.2.0/lib/net45/System.Web.Mvc.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/xiaoyaojian/OwinOAuthProvider/ae978917436f90f284d283b48cbd1513cb2a5a47/packages/Microsoft.AspNet.Mvc.5.2.0/lib/net45/System.Web.Mvc.dll
--------------------------------------------------------------------------------
/packages/Microsoft.AspNet.Razor.3.2.0/Microsoft.AspNet.Razor.3.2.0.nupkg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/xiaoyaojian/OwinOAuthProvider/ae978917436f90f284d283b48cbd1513cb2a5a47/packages/Microsoft.AspNet.Razor.3.2.0/Microsoft.AspNet.Razor.3.2.0.nupkg
--------------------------------------------------------------------------------
/packages/Microsoft.AspNet.Razor.3.2.0/lib/net45/System.Web.Razor.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/xiaoyaojian/OwinOAuthProvider/ae978917436f90f284d283b48cbd1513cb2a5a47/packages/Microsoft.AspNet.Razor.3.2.0/lib/net45/System.Web.Razor.dll
--------------------------------------------------------------------------------
/packages/Microsoft.AspNet.Web.Optimization.1.1.3/Microsoft.AspNet.Web.Optimization.1.1.3.nupkg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/xiaoyaojian/OwinOAuthProvider/ae978917436f90f284d283b48cbd1513cb2a5a47/packages/Microsoft.AspNet.Web.Optimization.1.1.3/Microsoft.AspNet.Web.Optimization.1.1.3.nupkg
--------------------------------------------------------------------------------
/packages/Microsoft.AspNet.Web.Optimization.1.1.3/lib/net40/System.Web.Optimization.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/xiaoyaojian/OwinOAuthProvider/ae978917436f90f284d283b48cbd1513cb2a5a47/packages/Microsoft.AspNet.Web.Optimization.1.1.3/lib/net40/System.Web.Optimization.dll
--------------------------------------------------------------------------------
/packages/Microsoft.AspNet.WebPages.3.2.0/Content/Web.config.install.xdt:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
21 |
22 |
24 |
25 |
26 |
27 |
28 |
29 |
30 |
31 |
32 |
33 |
34 |
35 |
36 |
37 |
38 |
39 |
40 |
41 |
--------------------------------------------------------------------------------
/packages/Microsoft.AspNet.WebPages.3.2.0/Content/Web.config.uninstall.xdt:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
7 |
8 |
10 |
11 |
12 |
13 |
--------------------------------------------------------------------------------
/packages/Microsoft.AspNet.WebPages.3.2.0/Microsoft.AspNet.WebPages.3.2.0.nupkg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/xiaoyaojian/OwinOAuthProvider/ae978917436f90f284d283b48cbd1513cb2a5a47/packages/Microsoft.AspNet.WebPages.3.2.0/Microsoft.AspNet.WebPages.3.2.0.nupkg
--------------------------------------------------------------------------------
/packages/Microsoft.AspNet.WebPages.3.2.0/lib/net45/System.Web.Helpers.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/xiaoyaojian/OwinOAuthProvider/ae978917436f90f284d283b48cbd1513cb2a5a47/packages/Microsoft.AspNet.WebPages.3.2.0/lib/net45/System.Web.Helpers.dll
--------------------------------------------------------------------------------
/packages/Microsoft.AspNet.WebPages.3.2.0/lib/net45/System.Web.WebPages.Deployment.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/xiaoyaojian/OwinOAuthProvider/ae978917436f90f284d283b48cbd1513cb2a5a47/packages/Microsoft.AspNet.WebPages.3.2.0/lib/net45/System.Web.WebPages.Deployment.dll
--------------------------------------------------------------------------------
/packages/Microsoft.AspNet.WebPages.3.2.0/lib/net45/System.Web.WebPages.Razor.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/xiaoyaojian/OwinOAuthProvider/ae978917436f90f284d283b48cbd1513cb2a5a47/packages/Microsoft.AspNet.WebPages.3.2.0/lib/net45/System.Web.WebPages.Razor.dll
--------------------------------------------------------------------------------
/packages/Microsoft.AspNet.WebPages.3.2.0/lib/net45/System.Web.WebPages.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/xiaoyaojian/OwinOAuthProvider/ae978917436f90f284d283b48cbd1513cb2a5a47/packages/Microsoft.AspNet.WebPages.3.2.0/lib/net45/System.Web.WebPages.dll
--------------------------------------------------------------------------------
/packages/Microsoft.Owin.2.1.0/Microsoft.Owin.2.1.0.nupkg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/xiaoyaojian/OwinOAuthProvider/ae978917436f90f284d283b48cbd1513cb2a5a47/packages/Microsoft.Owin.2.1.0/Microsoft.Owin.2.1.0.nupkg
--------------------------------------------------------------------------------
/packages/Microsoft.Owin.2.1.0/lib/net40/Microsoft.Owin.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/xiaoyaojian/OwinOAuthProvider/ae978917436f90f284d283b48cbd1513cb2a5a47/packages/Microsoft.Owin.2.1.0/lib/net40/Microsoft.Owin.dll
--------------------------------------------------------------------------------
/packages/Microsoft.Owin.2.1.0/lib/net45/Microsoft.Owin.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/xiaoyaojian/OwinOAuthProvider/ae978917436f90f284d283b48cbd1513cb2a5a47/packages/Microsoft.Owin.2.1.0/lib/net45/Microsoft.Owin.dll
--------------------------------------------------------------------------------
/packages/Microsoft.Owin.3.0.1/Microsoft.Owin.3.0.1.nupkg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/xiaoyaojian/OwinOAuthProvider/ae978917436f90f284d283b48cbd1513cb2a5a47/packages/Microsoft.Owin.3.0.1/Microsoft.Owin.3.0.1.nupkg
--------------------------------------------------------------------------------
/packages/Microsoft.Owin.3.0.1/lib/net45/Microsoft.Owin.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/xiaoyaojian/OwinOAuthProvider/ae978917436f90f284d283b48cbd1513cb2a5a47/packages/Microsoft.Owin.3.0.1/lib/net45/Microsoft.Owin.dll
--------------------------------------------------------------------------------
/packages/Microsoft.Owin.Host.SystemWeb.3.0.1/Microsoft.Owin.Host.SystemWeb.3.0.1.nupkg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/xiaoyaojian/OwinOAuthProvider/ae978917436f90f284d283b48cbd1513cb2a5a47/packages/Microsoft.Owin.Host.SystemWeb.3.0.1/Microsoft.Owin.Host.SystemWeb.3.0.1.nupkg
--------------------------------------------------------------------------------
/packages/Microsoft.Owin.Host.SystemWeb.3.0.1/lib/net45/Microsoft.Owin.Host.SystemWeb.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/xiaoyaojian/OwinOAuthProvider/ae978917436f90f284d283b48cbd1513cb2a5a47/packages/Microsoft.Owin.Host.SystemWeb.3.0.1/lib/net45/Microsoft.Owin.Host.SystemWeb.dll
--------------------------------------------------------------------------------
/packages/Microsoft.Owin.Security.2.1.0/Microsoft.Owin.Security.2.1.0.nupkg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/xiaoyaojian/OwinOAuthProvider/ae978917436f90f284d283b48cbd1513cb2a5a47/packages/Microsoft.Owin.Security.2.1.0/Microsoft.Owin.Security.2.1.0.nupkg
--------------------------------------------------------------------------------
/packages/Microsoft.Owin.Security.2.1.0/lib/net45/Microsoft.Owin.Security.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/xiaoyaojian/OwinOAuthProvider/ae978917436f90f284d283b48cbd1513cb2a5a47/packages/Microsoft.Owin.Security.2.1.0/lib/net45/Microsoft.Owin.Security.dll
--------------------------------------------------------------------------------
/packages/Microsoft.Owin.Security.Cookies.2.1.0/Microsoft.Owin.Security.Cookies.2.1.0.nupkg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/xiaoyaojian/OwinOAuthProvider/ae978917436f90f284d283b48cbd1513cb2a5a47/packages/Microsoft.Owin.Security.Cookies.2.1.0/Microsoft.Owin.Security.Cookies.2.1.0.nupkg
--------------------------------------------------------------------------------
/packages/Microsoft.Owin.Security.Cookies.2.1.0/lib/net45/Microsoft.Owin.Security.Cookies.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/xiaoyaojian/OwinOAuthProvider/ae978917436f90f284d283b48cbd1513cb2a5a47/packages/Microsoft.Owin.Security.Cookies.2.1.0/lib/net45/Microsoft.Owin.Security.Cookies.dll
--------------------------------------------------------------------------------
/packages/Microsoft.Owin.Security.OAuth.2.1.0/Microsoft.Owin.Security.OAuth.2.1.0.nupkg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/xiaoyaojian/OwinOAuthProvider/ae978917436f90f284d283b48cbd1513cb2a5a47/packages/Microsoft.Owin.Security.OAuth.2.1.0/Microsoft.Owin.Security.OAuth.2.1.0.nupkg
--------------------------------------------------------------------------------
/packages/Microsoft.Owin.Security.OAuth.2.1.0/lib/net45/Microsoft.Owin.Security.OAuth.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/xiaoyaojian/OwinOAuthProvider/ae978917436f90f284d283b48cbd1513cb2a5a47/packages/Microsoft.Owin.Security.OAuth.2.1.0/lib/net45/Microsoft.Owin.Security.OAuth.dll
--------------------------------------------------------------------------------
/packages/Microsoft.Web.Infrastructure.1.0.0.0/Microsoft.Web.Infrastructure.1.0.0.0.nupkg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/xiaoyaojian/OwinOAuthProvider/ae978917436f90f284d283b48cbd1513cb2a5a47/packages/Microsoft.Web.Infrastructure.1.0.0.0/Microsoft.Web.Infrastructure.1.0.0.0.nupkg
--------------------------------------------------------------------------------
/packages/Microsoft.Web.Infrastructure.1.0.0.0/lib/net40/Microsoft.Web.Infrastructure.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/xiaoyaojian/OwinOAuthProvider/ae978917436f90f284d283b48cbd1513cb2a5a47/packages/Microsoft.Web.Infrastructure.1.0.0.0/lib/net40/Microsoft.Web.Infrastructure.dll
--------------------------------------------------------------------------------
/packages/Microsoft.jQuery.Unobtrusive.Validation.3.2.0/Microsoft.jQuery.Unobtrusive.Validation.3.2.0.nupkg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/xiaoyaojian/OwinOAuthProvider/ae978917436f90f284d283b48cbd1513cb2a5a47/packages/Microsoft.jQuery.Unobtrusive.Validation.3.2.0/Microsoft.jQuery.Unobtrusive.Validation.3.2.0.nupkg
--------------------------------------------------------------------------------
/packages/Modernizr.2.7.2/Modernizr.2.7.2.nupkg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/xiaoyaojian/OwinOAuthProvider/ae978917436f90f284d283b48cbd1513cb2a5a47/packages/Modernizr.2.7.2/Modernizr.2.7.2.nupkg
--------------------------------------------------------------------------------
/packages/Modernizr.2.7.2/Tools/common.ps1:
--------------------------------------------------------------------------------
1 | function AddOrUpdate-Reference($scriptsFolderProjectItem, $fileNamePattern, $newFileName) {
2 | try {
3 | $referencesFileProjectItem = $scriptsFolderProjectItem.ProjectItems.Item("_references.js")
4 | }
5 | catch {
6 | # _references.js file not found
7 | return
8 | }
9 |
10 | if ($referencesFileProjectItem -eq $null) {
11 | # _references.js file not found
12 | return
13 | }
14 |
15 | $referencesFilePath = $referencesFileProjectItem.FileNames(1)
16 | $referencesTempFilePath = Join-Path $env:TEMP "_references.tmp.js"
17 |
18 | if ((Select-String $referencesFilePath -pattern $fileNamePattern).Length -eq 0) {
19 | # File has no existing matching reference line
20 | # Add the full reference line to the beginning of the file
21 | "/// " | Add-Content $referencesTempFilePath -Encoding UTF8
22 | Get-Content $referencesFilePath | Add-Content $referencesTempFilePath
23 | }
24 | else {
25 | # Loop through file and replace old file name with new file name
26 | Get-Content $referencesFilePath | ForEach-Object { $_ -replace $fileNamePattern, $newFileName } > $referencesTempFilePath
27 | }
28 |
29 | # Copy over the new _references.js file
30 | Copy-Item $referencesTempFilePath $referencesFilePath -Force
31 | Remove-Item $referencesTempFilePath -Force
32 | }
33 |
34 | function Remove-Reference($scriptsFolderProjectItem, $fileNamePattern) {
35 | try {
36 | $referencesFileProjectItem = $scriptsFolderProjectItem.ProjectItems.Item("_references.js")
37 | }
38 | catch {
39 | # _references.js file not found
40 | return
41 | }
42 |
43 | if ($referencesFileProjectItem -eq $null) {
44 | return
45 | }
46 |
47 | $referencesFilePath = $referencesFileProjectItem.FileNames(1)
48 | $referencesTempFilePath = Join-Path $env:TEMP "_references.tmp.js"
49 |
50 | if ((Select-String $referencesFilePath -pattern $fileNamePattern).Length -eq 1) {
51 | # Delete the line referencing the file
52 | Get-Content $referencesFilePath | ForEach-Object { if (-not ($_ -match $fileNamePattern)) { $_ } } > $referencesTempFilePath
53 |
54 | # Copy over the new _references.js file
55 | Copy-Item $referencesTempFilePath $referencesFilePath -Force
56 | Remove-Item $referencesTempFilePath -Force
57 | }
58 | }
59 |
60 | # Extract the version number from the file in the package's content\scripts folder
61 | $packageScriptsFolder = Join-Path $installPath Content\Scripts
62 | $modernizrFileName = Join-Path $packageScriptsFolder "modernizr-*.js" | Get-ChildItem -Exclude "*.min.js","*-vsdoc.js" | Split-Path -Leaf
63 | $modernizrFileNameRegEx = "modernizr-((?:\d+\.)?(?:\d+\.)?(?:\d+\.)?(?:\d+)).js"
64 | $modernizrFileName -match $modernizrFileNameRegEx
65 | $ver = $matches[1]
66 |
67 | # Get the project item for the scripts folder
68 | try {
69 | $scriptsFolderProjectItem = $project.ProjectItems.Item("Scripts")
70 | $projectScriptsFolderPath = $scriptsFolderProjectItem.FileNames(1)
71 | }
72 | catch {
73 | # No Scripts folder
74 | Write-Host "No scripts folder found"
75 | }
--------------------------------------------------------------------------------
/packages/Modernizr.2.7.2/Tools/install.ps1:
--------------------------------------------------------------------------------
1 | param($installPath, $toolsPath, $package, $project)
2 |
3 | . (Join-Path $toolsPath common.ps1)
4 |
5 | if ($scriptsFolderProjectItem -eq $null) {
6 | # No Scripts folder
7 | Write-Host "No Scripts folder found"
8 | exit
9 | }
10 |
11 | # Update the _references.js file
12 | AddOrUpdate-Reference $scriptsFolderProjectItem $modernizrFileNameRegEx $modernizrFileName
--------------------------------------------------------------------------------
/packages/Modernizr.2.7.2/Tools/uninstall.ps1:
--------------------------------------------------------------------------------
1 | param($installPath, $toolsPath, $package, $project)
2 |
3 | . (Join-Path $toolsPath common.ps1)
4 |
5 | # Update the _references.js file
6 | Remove-Reference $scriptsFolderProjectItem $modernizrFileNameRegEx
--------------------------------------------------------------------------------
/packages/Newtonsoft.Json.6.0.4/Newtonsoft.Json.6.0.4.nupkg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/xiaoyaojian/OwinOAuthProvider/ae978917436f90f284d283b48cbd1513cb2a5a47/packages/Newtonsoft.Json.6.0.4/Newtonsoft.Json.6.0.4.nupkg
--------------------------------------------------------------------------------
/packages/Newtonsoft.Json.6.0.4/lib/net20/Newtonsoft.Json.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/xiaoyaojian/OwinOAuthProvider/ae978917436f90f284d283b48cbd1513cb2a5a47/packages/Newtonsoft.Json.6.0.4/lib/net20/Newtonsoft.Json.dll
--------------------------------------------------------------------------------
/packages/Newtonsoft.Json.6.0.4/lib/net35/Newtonsoft.Json.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/xiaoyaojian/OwinOAuthProvider/ae978917436f90f284d283b48cbd1513cb2a5a47/packages/Newtonsoft.Json.6.0.4/lib/net35/Newtonsoft.Json.dll
--------------------------------------------------------------------------------
/packages/Newtonsoft.Json.6.0.4/lib/net40/Newtonsoft.Json.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/xiaoyaojian/OwinOAuthProvider/ae978917436f90f284d283b48cbd1513cb2a5a47/packages/Newtonsoft.Json.6.0.4/lib/net40/Newtonsoft.Json.dll
--------------------------------------------------------------------------------
/packages/Newtonsoft.Json.6.0.4/lib/net45/Newtonsoft.Json.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/xiaoyaojian/OwinOAuthProvider/ae978917436f90f284d283b48cbd1513cb2a5a47/packages/Newtonsoft.Json.6.0.4/lib/net45/Newtonsoft.Json.dll
--------------------------------------------------------------------------------
/packages/Newtonsoft.Json.6.0.4/lib/netcore45/Newtonsoft.Json.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/xiaoyaojian/OwinOAuthProvider/ae978917436f90f284d283b48cbd1513cb2a5a47/packages/Newtonsoft.Json.6.0.4/lib/netcore45/Newtonsoft.Json.dll
--------------------------------------------------------------------------------
/packages/Newtonsoft.Json.6.0.4/lib/portable-net40+sl5+wp80+win8+wpa81/Newtonsoft.Json.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/xiaoyaojian/OwinOAuthProvider/ae978917436f90f284d283b48cbd1513cb2a5a47/packages/Newtonsoft.Json.6.0.4/lib/portable-net40+sl5+wp80+win8+wpa81/Newtonsoft.Json.dll
--------------------------------------------------------------------------------
/packages/Newtonsoft.Json.6.0.4/lib/portable-net45+wp80+win8+wpa81/Newtonsoft.Json.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/xiaoyaojian/OwinOAuthProvider/ae978917436f90f284d283b48cbd1513cb2a5a47/packages/Newtonsoft.Json.6.0.4/lib/portable-net45+wp80+win8+wpa81/Newtonsoft.Json.dll
--------------------------------------------------------------------------------
/packages/Newtonsoft.Json.6.0.4/tools/install.ps1:
--------------------------------------------------------------------------------
1 | param($installPath, $toolsPath, $package, $project)
2 |
3 | # open json.net splash page on package install
4 | # don't open if json.net is installed as a dependency
5 |
6 | try
7 | {
8 | $url = "http://james.newtonking.com/json"
9 | $dte2 = Get-Interface $dte ([EnvDTE80.DTE2])
10 |
11 | if ($dte2.ActiveWindow.Caption -eq "Package Manager Console")
12 | {
13 | # user is installing from VS NuGet console
14 | # get reference to the window, the console host and the input history
15 | # show webpage if "install-package newtonsoft.json" was last input
16 |
17 | $consoleWindow = $(Get-VSComponentModel).GetService([NuGetConsole.IPowerConsoleWindow])
18 |
19 | $props = $consoleWindow.GetType().GetProperties([System.Reflection.BindingFlags]::Instance -bor `
20 | [System.Reflection.BindingFlags]::NonPublic)
21 |
22 | $prop = $props | ? { $_.Name -eq "ActiveHostInfo" } | select -first 1
23 | if ($prop -eq $null) { return }
24 |
25 | $hostInfo = $prop.GetValue($consoleWindow)
26 | if ($hostInfo -eq $null) { return }
27 |
28 | $history = $hostInfo.WpfConsole.InputHistory.History
29 |
30 | $lastCommand = $history | select -last 1
31 |
32 | if ($lastCommand)
33 | {
34 | $lastCommand = $lastCommand.Trim().ToLower()
35 | if ($lastCommand.StartsWith("install-package") -and $lastCommand.Contains("newtonsoft.json"))
36 | {
37 | $dte2.ItemOperations.Navigate($url) | Out-Null
38 | }
39 | }
40 | }
41 | else
42 | {
43 | # user is installing from VS NuGet dialog
44 | # get reference to the window, then smart output console provider
45 | # show webpage if messages in buffered console contains "installing...newtonsoft.json" in last operation
46 |
47 | $instanceField = [NuGet.Dialog.PackageManagerWindow].GetField("CurrentInstance", [System.Reflection.BindingFlags]::Static -bor `
48 | [System.Reflection.BindingFlags]::NonPublic)
49 | $consoleField = [NuGet.Dialog.PackageManagerWindow].GetField("_smartOutputConsoleProvider", [System.Reflection.BindingFlags]::Instance -bor `
50 | [System.Reflection.BindingFlags]::NonPublic)
51 | if ($instanceField -eq $null -or $consoleField -eq $null) { return }
52 |
53 | $instance = $instanceField.GetValue($null)
54 | if ($instance -eq $null) { return }
55 |
56 | $consoleProvider = $consoleField.GetValue($instance)
57 | if ($consoleProvider -eq $null) { return }
58 |
59 | $console = $consoleProvider.CreateOutputConsole($false)
60 |
61 | $messagesField = $console.GetType().GetField("_messages", [System.Reflection.BindingFlags]::Instance -bor `
62 | [System.Reflection.BindingFlags]::NonPublic)
63 | if ($messagesField -eq $null) { return }
64 |
65 | $messages = $messagesField.GetValue($console)
66 | if ($messages -eq $null) { return }
67 |
68 | $operations = $messages -split "=============================="
69 |
70 | $lastOperation = $operations | select -last 1
71 |
72 | if ($lastOperation)
73 | {
74 | $lastOperation = $lastOperation.ToLower()
75 |
76 | $lines = $lastOperation -split "`r`n"
77 |
78 | $installMatch = $lines | ? { $_.StartsWith("------- installing...newtonsoft.json ") } | select -first 1
79 |
80 | if ($installMatch)
81 | {
82 | $dte2.ItemOperations.Navigate($url) | Out-Null
83 | }
84 | }
85 | }
86 | }
87 | catch
88 | {
89 | # stop potential errors from bubbling up
90 | # worst case the splash page won't open
91 | }
92 |
93 | # yolo
--------------------------------------------------------------------------------
/packages/Newtonsoft.Json.6.0.8/Newtonsoft.Json.6.0.8.nupkg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/xiaoyaojian/OwinOAuthProvider/ae978917436f90f284d283b48cbd1513cb2a5a47/packages/Newtonsoft.Json.6.0.8/Newtonsoft.Json.6.0.8.nupkg
--------------------------------------------------------------------------------
/packages/Newtonsoft.Json.6.0.8/lib/net20/Newtonsoft.Json.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/xiaoyaojian/OwinOAuthProvider/ae978917436f90f284d283b48cbd1513cb2a5a47/packages/Newtonsoft.Json.6.0.8/lib/net20/Newtonsoft.Json.dll
--------------------------------------------------------------------------------
/packages/Newtonsoft.Json.6.0.8/lib/net35/Newtonsoft.Json.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/xiaoyaojian/OwinOAuthProvider/ae978917436f90f284d283b48cbd1513cb2a5a47/packages/Newtonsoft.Json.6.0.8/lib/net35/Newtonsoft.Json.dll
--------------------------------------------------------------------------------
/packages/Newtonsoft.Json.6.0.8/lib/net40/Newtonsoft.Json.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/xiaoyaojian/OwinOAuthProvider/ae978917436f90f284d283b48cbd1513cb2a5a47/packages/Newtonsoft.Json.6.0.8/lib/net40/Newtonsoft.Json.dll
--------------------------------------------------------------------------------
/packages/Newtonsoft.Json.6.0.8/lib/net45/Newtonsoft.Json.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/xiaoyaojian/OwinOAuthProvider/ae978917436f90f284d283b48cbd1513cb2a5a47/packages/Newtonsoft.Json.6.0.8/lib/net45/Newtonsoft.Json.dll
--------------------------------------------------------------------------------
/packages/Newtonsoft.Json.6.0.8/lib/netcore45/Newtonsoft.Json.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/xiaoyaojian/OwinOAuthProvider/ae978917436f90f284d283b48cbd1513cb2a5a47/packages/Newtonsoft.Json.6.0.8/lib/netcore45/Newtonsoft.Json.dll
--------------------------------------------------------------------------------
/packages/Newtonsoft.Json.6.0.8/lib/portable-net40+sl5+wp80+win8+wpa81/Newtonsoft.Json.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/xiaoyaojian/OwinOAuthProvider/ae978917436f90f284d283b48cbd1513cb2a5a47/packages/Newtonsoft.Json.6.0.8/lib/portable-net40+sl5+wp80+win8+wpa81/Newtonsoft.Json.dll
--------------------------------------------------------------------------------
/packages/Newtonsoft.Json.6.0.8/lib/portable-net45+wp80+win8+wpa81+aspnetcore50/Newtonsoft.Json.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/xiaoyaojian/OwinOAuthProvider/ae978917436f90f284d283b48cbd1513cb2a5a47/packages/Newtonsoft.Json.6.0.8/lib/portable-net45+wp80+win8+wpa81+aspnetcore50/Newtonsoft.Json.dll
--------------------------------------------------------------------------------
/packages/Newtonsoft.Json.6.0.8/tools/install.ps1:
--------------------------------------------------------------------------------
1 | param($installPath, $toolsPath, $package, $project)
2 |
3 | # open json.net splash page on package install
4 | # don't open if json.net is installed as a dependency
5 |
6 | try
7 | {
8 | $url = "http://james.newtonking.com/json/install?version=" + $package.Version
9 | $dte2 = Get-Interface $dte ([EnvDTE80.DTE2])
10 |
11 | if ($dte2.ActiveWindow.Caption -eq "Package Manager Console")
12 | {
13 | # user is installing from VS NuGet console
14 | # get reference to the window, the console host and the input history
15 | # show webpage if "install-package newtonsoft.json" was last input
16 |
17 | $consoleWindow = $(Get-VSComponentModel).GetService([NuGetConsole.IPowerConsoleWindow])
18 |
19 | $props = $consoleWindow.GetType().GetProperties([System.Reflection.BindingFlags]::Instance -bor `
20 | [System.Reflection.BindingFlags]::NonPublic)
21 |
22 | $prop = $props | ? { $_.Name -eq "ActiveHostInfo" } | select -first 1
23 | if ($prop -eq $null) { return }
24 |
25 | $hostInfo = $prop.GetValue($consoleWindow)
26 | if ($hostInfo -eq $null) { return }
27 |
28 | $history = $hostInfo.WpfConsole.InputHistory.History
29 |
30 | $lastCommand = $history | select -last 1
31 |
32 | if ($lastCommand)
33 | {
34 | $lastCommand = $lastCommand.Trim().ToLower()
35 | if ($lastCommand.StartsWith("install-package") -and $lastCommand.Contains("newtonsoft.json"))
36 | {
37 | $dte2.ItemOperations.Navigate($url) | Out-Null
38 | }
39 | }
40 | }
41 | else
42 | {
43 | # user is installing from VS NuGet dialog
44 | # get reference to the window, then smart output console provider
45 | # show webpage if messages in buffered console contains "installing...newtonsoft.json" in last operation
46 |
47 | $instanceField = [NuGet.Dialog.PackageManagerWindow].GetField("CurrentInstance", [System.Reflection.BindingFlags]::Static -bor `
48 | [System.Reflection.BindingFlags]::NonPublic)
49 |
50 | $consoleField = [NuGet.Dialog.PackageManagerWindow].GetField("_smartOutputConsoleProvider", [System.Reflection.BindingFlags]::Instance -bor `
51 | [System.Reflection.BindingFlags]::NonPublic)
52 |
53 | if ($instanceField -eq $null -or $consoleField -eq $null) { return }
54 |
55 | $instance = $instanceField.GetValue($null)
56 |
57 | if ($instance -eq $null) { return }
58 |
59 | $consoleProvider = $consoleField.GetValue($instance)
60 | if ($consoleProvider -eq $null) { return }
61 |
62 | $console = $consoleProvider.CreateOutputConsole($false)
63 |
64 | $messagesField = $console.GetType().GetField("_messages", [System.Reflection.BindingFlags]::Instance -bor `
65 | [System.Reflection.BindingFlags]::NonPublic)
66 | if ($messagesField -eq $null) { return }
67 |
68 | $messages = $messagesField.GetValue($console)
69 | if ($messages -eq $null) { return }
70 |
71 | $operations = $messages -split "=============================="
72 |
73 | $lastOperation = $operations | select -last 1
74 |
75 | if ($lastOperation)
76 | {
77 | $lastOperation = $lastOperation.ToLower()
78 |
79 | $lines = $lastOperation -split "`r`n"
80 |
81 | $installMatch = $lines | ? { $_.StartsWith("------- installing...newtonsoft.json ") } | select -first 1
82 |
83 | if ($installMatch)
84 | {
85 | $dte2.ItemOperations.Navigate($url) | Out-Null
86 | }
87 | }
88 | }
89 | }
90 | catch
91 | {
92 | try
93 | {
94 | $pmPane = $dte2.ToolWindows.OutputWindow.OutputWindowPanes.Item("Package Manager")
95 |
96 | $selection = $pmPane.TextDocument.Selection
97 | $selection.StartOfDocument($false)
98 | $selection.EndOfDocument($true)
99 |
100 | if ($selection.Text.StartsWith("Installing 'Newtonsoft.Json "))
101 | {
102 | $dte2.ItemOperations.Navigate($url) | Out-Null
103 | }
104 | }
105 | catch
106 | {
107 | # stop potential errors from bubbling up
108 | # worst case the splash page won't open
109 | }
110 | }
111 |
112 | # still yolo
--------------------------------------------------------------------------------
/packages/Owin.1.0/Owin.1.0.nupkg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/xiaoyaojian/OwinOAuthProvider/ae978917436f90f284d283b48cbd1513cb2a5a47/packages/Owin.1.0/Owin.1.0.nupkg
--------------------------------------------------------------------------------
/packages/Owin.1.0/lib/net40/Owin.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/xiaoyaojian/OwinOAuthProvider/ae978917436f90f284d283b48cbd1513cb2a5a47/packages/Owin.1.0/lib/net40/Owin.dll
--------------------------------------------------------------------------------
/packages/Respond.1.4.2/Respond.1.4.2.nupkg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/xiaoyaojian/OwinOAuthProvider/ae978917436f90f284d283b48cbd1513cb2a5a47/packages/Respond.1.4.2/Respond.1.4.2.nupkg
--------------------------------------------------------------------------------
/packages/Respond.1.4.2/content/Scripts/respond.min.js:
--------------------------------------------------------------------------------
1 | /*! Respond.js v1.4.2: min/max-width media query polyfill * Copyright 2013 Scott Jehl
2 | * Licensed under https://github.com/scottjehl/Respond/blob/master/LICENSE-MIT
3 | * */
4 |
5 | !function(a){"use strict";a.matchMedia=a.matchMedia||function(a){var b,c=a.documentElement,d=c.firstElementChild||c.firstChild,e=a.createElement("body"),f=a.createElement("div");return f.id="mq-test-1",f.style.cssText="position:absolute;top:-100em",e.style.background="none",e.appendChild(f),function(a){return f.innerHTML='',c.insertBefore(e,d),b=42===f.offsetWidth,c.removeChild(e),{matches:b,media:a}}}(a.document)}(this),function(a){"use strict";function b(){u(!0)}var c={};a.respond=c,c.update=function(){};var d=[],e=function(){var b=!1;try{b=new a.XMLHttpRequest}catch(c){b=new a.ActiveXObject("Microsoft.XMLHTTP")}return function(){return b}}(),f=function(a,b){var c=e();c&&(c.open("GET",a,!0),c.onreadystatechange=function(){4!==c.readyState||200!==c.status&&304!==c.status||b(c.responseText)},4!==c.readyState&&c.send(null))};if(c.ajax=f,c.queue=d,c.regex={media:/@media[^\{]+\{([^\{\}]*\{[^\}\{]*\})+/gi,keyframes:/@(?:\-(?:o|moz|webkit)\-)?keyframes[^\{]+\{(?:[^\{\}]*\{[^\}\{]*\})+[^\}]*\}/gi,urls:/(url\()['"]?([^\/\)'"][^:\)'"]+)['"]?(\))/g,findStyles:/@media *([^\{]+)\{([\S\s]+?)$/,only:/(only\s+)?([a-zA-Z]+)\s?/,minw:/\([\s]*min\-width\s*:[\s]*([\s]*[0-9\.]+)(px|em)[\s]*\)/,maxw:/\([\s]*max\-width\s*:[\s]*([\s]*[0-9\.]+)(px|em)[\s]*\)/},c.mediaQueriesSupported=a.matchMedia&&null!==a.matchMedia("only all")&&a.matchMedia("only all").matches,!c.mediaQueriesSupported){var g,h,i,j=a.document,k=j.documentElement,l=[],m=[],n=[],o={},p=30,q=j.getElementsByTagName("head")[0]||k,r=j.getElementsByTagName("base")[0],s=q.getElementsByTagName("link"),t=function(){var a,b=j.createElement("div"),c=j.body,d=k.style.fontSize,e=c&&c.style.fontSize,f=!1;return b.style.cssText="position:absolute;font-size:1em;width:1em",c||(c=f=j.createElement("body"),c.style.background="none"),k.style.fontSize="100%",c.style.fontSize="100%",c.appendChild(b),f&&k.insertBefore(c,k.firstChild),a=b.offsetWidth,f?k.removeChild(c):c.removeChild(b),k.style.fontSize=d,e&&(c.style.fontSize=e),a=i=parseFloat(a)},u=function(b){var c="clientWidth",d=k[c],e="CSS1Compat"===j.compatMode&&d||j.body[c]||d,f={},o=s[s.length-1],r=(new Date).getTime();if(b&&g&&p>r-g)return a.clearTimeout(h),h=a.setTimeout(u,p),void 0;g=r;for(var v in l)if(l.hasOwnProperty(v)){var w=l[v],x=w.minw,y=w.maxw,z=null===x,A=null===y,B="em";x&&(x=parseFloat(x)*(x.indexOf(B)>-1?i||t():1)),y&&(y=parseFloat(y)*(y.indexOf(B)>-1?i||t():1)),w.hasquery&&(z&&A||!(z||e>=x)||!(A||y>=e))||(f[w.media]||(f[w.media]=[]),f[w.media].push(m[w.rules]))}for(var C in n)n.hasOwnProperty(C)&&n[C]&&n[C].parentNode===q&&q.removeChild(n[C]);n.length=0;for(var D in f)if(f.hasOwnProperty(D)){var E=j.createElement("style"),F=f[D].join("\n");E.type="text/css",E.media=D,q.insertBefore(E,o.nextSibling),E.styleSheet?E.styleSheet.cssText=F:E.appendChild(j.createTextNode(F)),n.push(E)}},v=function(a,b,d){var e=a.replace(c.regex.keyframes,"").match(c.regex.media),f=e&&e.length||0;b=b.substring(0,b.lastIndexOf("/"));var g=function(a){return a.replace(c.regex.urls,"$1"+b+"$2$3")},h=!f&&d;b.length&&(b+="/"),h&&(f=1);for(var i=0;f>i;i++){var j,k,n,o;h?(j=d,m.push(g(a))):(j=e[i].match(c.regex.findStyles)&&RegExp.$1,m.push(RegExp.$2&&g(RegExp.$2))),n=j.split(","),o=n.length;for(var p=0;o>p;p++)k=n[p],l.push({media:k.split("(")[0].match(c.regex.only)&&RegExp.$2||"all",rules:m.length-1,hasquery:k.indexOf("(")>-1,minw:k.match(c.regex.minw)&&parseFloat(RegExp.$1)+(RegExp.$2||""),maxw:k.match(c.regex.maxw)&&parseFloat(RegExp.$1)+(RegExp.$2||"")})}u()},w=function(){if(d.length){var b=d.shift();f(b.href,function(c){v(c,b.href,b.media),o[b.href]=!0,a.setTimeout(function(){w()},0)})}},x=function(){for(var b=0;b" | Add-Content $referencesTempFilePath -Encoding UTF8
44 | Get-Content $referencesFilePath | Add-Content $referencesTempFilePath
45 | }
46 | else {
47 | # Loop through file and replace old file name with new file name
48 | Get-Content $referencesFilePath | ForEach-Object { $_ -replace $fileNamePattern, $newFileName } > $referencesTempFilePath
49 | }
50 |
51 | # Copy over the new _references.js file
52 | Copy-Item $referencesTempFilePath $referencesFilePath -Force
53 | Remove-Item $referencesTempFilePath -Force
54 | }
55 |
56 | function Remove-Reference($scriptsFolderProjectItem, $fileNamePattern) {
57 | try {
58 | $referencesFileProjectItem = $scriptsFolderProjectItem.ProjectItems.Item("_references.js")
59 | }
60 | catch {
61 | # _references.js file not found
62 | return
63 | }
64 |
65 | if ($referencesFileProjectItem -eq $null) {
66 | return
67 | }
68 |
69 | $referencesFilePath = $referencesFileProjectItem.FileNames(1)
70 | $referencesTempFilePath = Join-Path $env:TEMP "_references.tmp.js"
71 |
72 | if ((Select-String $referencesFilePath -pattern $fileNamePattern).Length -eq 1) {
73 | # Delete the line referencing the file
74 | Get-Content $referencesFilePath | ForEach-Object { if (-not ($_ -match $fileNamePattern)) { $_ } } > $referencesTempFilePath
75 |
76 | # Copy over the new _references.js file
77 | Copy-Item $referencesTempFilePath $referencesFilePath -Force
78 | Remove-Item $referencesTempFilePath -Force
79 | }
80 | }
81 |
82 | function Delete-ProjectItem($item) {
83 | $itemDeleted = $false
84 | for ($1=1; $i -le 5; $i++) {
85 | try {
86 | $item.Delete()
87 | $itemDeleted = $true
88 | break
89 | }
90 | catch {
91 | # Try again in 200ms
92 | [System.Threading.Thread]::Sleep(200)
93 | }
94 | }
95 | if ($itemDeleted -eq $false) {
96 | throw "Unable to delete project item after five attempts."
97 | }
98 | }
99 |
100 | # Extract the version number from the jquery file in the package's content\scripts folder
101 | $packageScriptsFolder = Join-Path $installPath Content\Scripts
102 | $jqueryFileName = Join-Path $packageScriptsFolder "jquery-*.js" | Get-ChildItem -Exclude "*.min.js","*-vsdoc.js" | Split-Path -Leaf
103 | $jqueryFileNameRegEx = "jquery-((?:\d+\.)?(?:\d+\.)?(?:\d+\.)?(?:\d+)).js"
104 | $jqueryFileName -match $jqueryFileNameRegEx
105 | $ver = $matches[1]
106 |
107 | $intelliSenseFileName = "jquery-$ver.intellisense.js"
108 |
109 | # Get the project item for the scripts folder
110 | try {
111 | $scriptsFolderProjectItem = $project.ProjectItems.Item("Scripts")
112 | $projectScriptsFolderPath = $scriptsFolderProjectItem.FileNames(1)
113 | }
114 | catch {
115 | # No Scripts folder
116 | Write-Host "No scripts folder found"
117 | }
--------------------------------------------------------------------------------
/packages/jQuery.2.1.1/Tools/install.ps1:
--------------------------------------------------------------------------------
1 | param($installPath, $toolsPath, $package, $project)
2 |
3 | . (Join-Path $toolsPath common.ps1)
4 |
5 | # VS 11 and above supports the new intellisense JS files
6 | $vsVersion = [System.Version]::Parse($dte.Version)
7 | $supportsJsIntelliSenseFile = $vsVersion.Major -ge 11
8 |
9 | if (-not $supportsJsIntelliSenseFile) {
10 | $displayVersion = $vsVersion.Major
11 | Write-Host "IntelliSense JS files are not supported by your version of Visual Studio: $displayVersion"
12 | exit
13 | }
14 |
15 | if ($scriptsFolderProjectItem -eq $null) {
16 | # No Scripts folder
17 | Write-Host "No Scripts folder found"
18 | exit
19 | }
20 |
21 | # Delete the vsdoc file from the project
22 | try {
23 | $vsDocProjectItem = $scriptsFolderProjectItem.ProjectItems.Item("jquery-$ver-vsdoc.js")
24 | Delete-ProjectItem $vsDocProjectItem
25 | }
26 | catch {
27 | Write-Host "Error deleting vsdoc file: " + $_.Exception -ForegroundColor Red
28 | exit
29 | }
30 |
31 | # Copy the intellisense file to the project from the tools folder
32 | $intelliSenseFileSourcePath = Join-Path $toolsPath $intelliSenseFileName
33 | try {
34 | $scriptsFolderProjectItem.ProjectItems.AddFromFileCopy($intelliSenseFileSourcePath)
35 | }
36 | catch {
37 | # This will throw if the file already exists, so we need to catch here
38 | }
39 |
40 | # Update the _references.js file
41 | AddOrUpdate-Reference $scriptsFolderProjectItem $jqueryFileNameRegEx $jqueryFileName
--------------------------------------------------------------------------------
/packages/jQuery.2.1.1/Tools/uninstall.ps1:
--------------------------------------------------------------------------------
1 | param($installPath, $toolsPath, $package, $project)
2 |
3 | . (Join-Path $toolsPath common.ps1)
4 |
5 | # Determine the file paths
6 | $projectIntelliSenseFilePath = Join-Path $projectScriptsFolderPath $intelliSenseFileName
7 | $origIntelliSenseFilePath = Join-Path $toolsPath $intelliSenseFileName
8 |
9 | if (Test-Path $projectIntelliSenseFilePath) {
10 | if ((Get-Checksum $projectIntelliSenseFilePath) -eq (Get-Checksum $origIntelliSenseFilePath)) {
11 | # The intellisense file in the project matches the file in the tools folder, delete it
12 |
13 | if ($scriptsFolderProjectItem -eq $null) {
14 | # No Scripts folder
15 | exit
16 | }
17 |
18 | try {
19 | # Get the project item for the intellisense file
20 | $intelliSenseFileProjectItem = $scriptsFolderProjectItem.ProjectItems.Item($intelliSenseFileName)
21 | }
22 | catch {
23 | # The item wasn't found
24 | exit
25 | }
26 |
27 | # Delete the project item
28 | Delete-ProjectItem $intelliSenseFileProjectItem
29 | }
30 | else {
31 | $projectScriptsFolderLeaf = Split-Path $projectScriptsFolderPath -Leaf
32 | Write-Host "Skipping '$projectScriptsFolderLeaf\$intelliSenseFileName' because it was modified." -ForegroundColor Magenta
33 | }
34 | }
35 | else {
36 | # The intellisense file was not found in project
37 | Write-Host "The intellisense file was not found in project at path $projectIntelliSenseFilePath"
38 | }
39 |
40 | # Update the _references.js file
41 | Remove-Reference $scriptsFolderProjectItem $jqueryFileNameRegEx
--------------------------------------------------------------------------------
/packages/jQuery.2.1.1/jQuery.2.1.1.nupkg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/xiaoyaojian/OwinOAuthProvider/ae978917436f90f284d283b48cbd1513cb2a5a47/packages/jQuery.2.1.1/jQuery.2.1.1.nupkg
--------------------------------------------------------------------------------
/packages/jQuery.Validation.1.13.0/jQuery.Validation.1.13.0.nupkg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/xiaoyaojian/OwinOAuthProvider/ae978917436f90f284d283b48cbd1513cb2a5a47/packages/jQuery.Validation.1.13.0/jQuery.Validation.1.13.0.nupkg
--------------------------------------------------------------------------------