Update aspnet50/aspnetcore50 => dnx451/dnxcore50.

This commit is contained in:
N. Taylor Mullen 2015-03-08 12:56:09 -07:00
parent 5e7f1d7eff
commit 1bd605da5e
28 changed files with 66 additions and 66 deletions

View File

@ -1,4 +1,4 @@
{ {
"dependencies": { "dependencies": {
"Microsoft.AspNet.Authentication.Cookies": "1.0.0-*", "Microsoft.AspNet.Authentication.Cookies": "1.0.0-*",
"Microsoft.AspNet.Server.WebListener": "1.0.0-*", "Microsoft.AspNet.Server.WebListener": "1.0.0-*",
@ -10,9 +10,9 @@
"kestrel": "Microsoft.AspNet.Hosting --server Kestrel --server.urls http://localhost:5004" "kestrel": "Microsoft.AspNet.Hosting --server Kestrel --server.urls http://localhost:5004"
}, },
"frameworks": { "frameworks": {
"aspnet50": { "dnx451": {
}, },
"aspnetcore50": { "dnxcore50": {
} }
}, },
"webroot":"wwwroot" "webroot":"wwwroot"

View File

@ -1,4 +1,4 @@
{ {
"dependencies": { "dependencies": {
"Microsoft.AspNet.Authentication.Cookies": "1.0.0-*", "Microsoft.AspNet.Authentication.Cookies": "1.0.0-*",
"Microsoft.AspNet.Server.WebListener": "1.0.0-*", "Microsoft.AspNet.Server.WebListener": "1.0.0-*",
@ -11,8 +11,8 @@
"kestrel": "Microsoft.AspNet.Hosting --server Kestrel --server.urls http://localhost:5004" "kestrel": "Microsoft.AspNet.Hosting --server Kestrel --server.urls http://localhost:5004"
}, },
"frameworks": { "frameworks": {
"aspnet50": { }, "dnx451": { },
"aspnetcore50": { } "dnxcore50": { }
}, },
"webroot": "wwwroot" "webroot": "wwwroot"
} }

View File

@ -7,8 +7,8 @@
"Microsoft.AspNet.Server.WebListener": "1.0.0-*" "Microsoft.AspNet.Server.WebListener": "1.0.0-*"
}, },
"frameworks": { "frameworks": {
"aspnet50": { }, "dnx451": { },
"aspnetcore50": { } "dnxcore50": { }
}, },
"commands": { "commands": {
"web": "Microsoft.AspNet.Hosting server=Microsoft.AspNet.Server.WebListener server.urls=http://localhost:12345", "web": "Microsoft.AspNet.Hosting server=Microsoft.AspNet.Server.WebListener server.urls=http://localhost:12345",

View File

@ -1,4 +1,4 @@
{ {
"dependencies": { "dependencies": {
"Microsoft.AspNet.Diagnostics": "1.0.0-*", "Microsoft.AspNet.Diagnostics": "1.0.0-*",
"Microsoft.AspNet.Authentication.Cookies": "1.0.0-*", "Microsoft.AspNet.Authentication.Cookies": "1.0.0-*",
@ -16,9 +16,9 @@
"kestrel": "Microsoft.AspNet.Hosting --server Kestrel --server.urls http://localhost:54540" "kestrel": "Microsoft.AspNet.Hosting --server Kestrel --server.urls http://localhost:54540"
}, },
"frameworks": { "frameworks": {
"aspnet50": { "dnx451": {
}, },
"aspnetcore50": { "dnxcore50": {
} }
}, },
"webroot": "wwwroot" "webroot": "wwwroot"

View File

@ -1,4 +1,4 @@
{ {
"version": "1.0.0-*", "version": "1.0.0-*",
"description": "ASP.NET middleware that enables an application to use cookie based authentication, similar to ASP.NET's forms authentication.", "description": "ASP.NET middleware that enables an application to use cookie based authentication, similar to ASP.NET's forms authentication.",
"dependencies": { "dependencies": {
@ -6,7 +6,7 @@
"Newtonsoft.Json": "6.0.6" "Newtonsoft.Json": "6.0.6"
}, },
"frameworks": { "frameworks": {
"aspnet50": { }, "dnx451": { },
"aspnetcore50": { } "dnxcore50": { }
} }
} }

View File

@ -1,11 +1,11 @@
{ {
"version": "1.0.0-*", "version": "1.0.0-*",
"description": "ASP.NET 5 middleware that enables an application to support Facebook's OAuth 2.0 authentication workflow.", "description": "ASP.NET 5 middleware that enables an application to support Facebook's OAuth 2.0 authentication workflow.",
"dependencies": { "dependencies": {
"Microsoft.AspNet.Authentication.OAuth": "1.0.0-*" "Microsoft.AspNet.Authentication.OAuth": "1.0.0-*"
}, },
"frameworks": { "frameworks": {
"aspnet50": { }, "dnx451": { },
"aspnetcore50": { } "dnxcore50": { }
} }
} }

View File

@ -1,11 +1,11 @@
{ {
"version": "1.0.0-*", "version": "1.0.0-*",
"description": "ASP.NET 5 contains middlewares to support Google's OpenId and OAuth 2.0 authentication workflows.", "description": "ASP.NET 5 contains middlewares to support Google's OpenId and OAuth 2.0 authentication workflows.",
"dependencies": { "dependencies": {
"Microsoft.AspNet.Authentication.OAuth": "1.0.0-*" "Microsoft.AspNet.Authentication.OAuth": "1.0.0-*"
}, },
"frameworks": { "frameworks": {
"aspnet50": { }, "dnx451": { },
"aspnetcore50": { } "dnxcore50": { }
} }
} }

View File

@ -1,12 +1,12 @@
{ {
"version": "1.0.0-*", "version": "1.0.0-*",
"description": "ASP.NET 5 middleware that enables an application to support the Microsoft Account authentication workflow.", "description": "ASP.NET 5 middleware that enables an application to support the Microsoft Account authentication workflow.",
"dependencies": { "dependencies": {
"Microsoft.AspNet.Authentication.OAuth": "1.0.0-*" "Microsoft.AspNet.Authentication.OAuth": "1.0.0-*"
}, },
"frameworks": { "frameworks": {
"aspnet50": { }, "dnx451": { },
"aspnetcore50": { "dnxcore50": {
"dependencies": { "dependencies": {
"System.Dynamic.Runtime": "4.0.10-beta-*", "System.Dynamic.Runtime": "4.0.10-beta-*",
"System.ObjectModel": "4.0.10-beta-*" "System.ObjectModel": "4.0.10-beta-*"

View File

@ -107,7 +107,7 @@ namespace Microsoft.AspNet.Authentication.OAuth
private static HttpMessageHandler ResolveHttpMessageHandler(OAuthAuthenticationOptions<TNotifications> options) private static HttpMessageHandler ResolveHttpMessageHandler(OAuthAuthenticationOptions<TNotifications> options)
{ {
HttpMessageHandler handler = options.BackchannelHttpHandler ?? HttpMessageHandler handler = options.BackchannelHttpHandler ??
#if ASPNET50 #if DNX451
new WebRequestHandler(); new WebRequestHandler();
// If they provided a validator, apply it or fail. // If they provided a validator, apply it or fail.
if (options.BackchannelCertificateValidator != null) if (options.BackchannelCertificateValidator != null)

View File

@ -51,7 +51,7 @@ namespace Microsoft.AspNet.Authentication.OAuth
/// </summary> /// </summary>
public string UserInformationEndpoint { get; set; } public string UserInformationEndpoint { get; set; }
#if ASPNET50 #if DNX451
/// <summary> /// <summary>
/// Gets or sets the a pinned certificate validator to use to validate the endpoints used /// Gets or sets the a pinned certificate validator to use to validate the endpoints used
/// in back channel communications belong to the auth provider. /// in back channel communications belong to the auth provider.

View File

@ -1,4 +1,4 @@
{ {
"version": "1.0.0-*", "version": "1.0.0-*",
"description": "ASP.NET 5 middleware that enables an application to support any standard OAuth 2.0 authentication workflow.", "description": "ASP.NET 5 middleware that enables an application to support any standard OAuth 2.0 authentication workflow.",
"dependencies": { "dependencies": {
@ -6,13 +6,13 @@
"Microsoft.AspNet.Authentication": "1.0.0-*" "Microsoft.AspNet.Authentication": "1.0.0-*"
}, },
"frameworks": { "frameworks": {
"aspnet50": { "dnx451": {
"frameworkAssemblies": { "frameworkAssemblies": {
"System.Net.Http.WebRequest": "", "System.Net.Http.WebRequest": "",
"System.Net.Http": "" "System.Net.Http": ""
} }
}, },
"aspnetcore50": { "dnxcore50": {
"dependencies": { "dependencies": {
"System.Net.Http.WinHttpHandler": "4.0.0-beta-*" "System.Net.Http.WinHttpHandler": "4.0.0-beta-*"
} }

View File

@ -93,7 +93,7 @@ namespace Microsoft.AspNet.Authentication.OAuthBearer
private static HttpMessageHandler ResolveHttpMessageHandler(OAuthBearerAuthenticationOptions options) private static HttpMessageHandler ResolveHttpMessageHandler(OAuthBearerAuthenticationOptions options)
{ {
HttpMessageHandler handler = options.BackchannelHttpHandler ?? HttpMessageHandler handler = options.BackchannelHttpHandler ??
#if ASPNET50 #if DNX451
new WebRequestHandler(); new WebRequestHandler();
// If they provided a validator, apply it or fail. // If they provided a validator, apply it or fail.
if (options.BackchannelCertificateValidator != null) if (options.BackchannelCertificateValidator != null)

View File

@ -1,4 +1,4 @@
// Copyright (c) Microsoft Open Technologies, Inc. All rights reserved. // Copyright (c) Microsoft Open Technologies, Inc. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System; using System;
@ -75,7 +75,7 @@ namespace Microsoft.AspNet.Authentication.OAuthBearer
/// </summary> /// </summary>
public TimeSpan BackchannelTimeout { get; set; } public TimeSpan BackchannelTimeout { get; set; }
#if ASPNET50 #if DNX451
/// <summary> /// <summary>
/// Gets or sets the a pinned certificate validator to use to validate the endpoints used /// Gets or sets the a pinned certificate validator to use to validate the endpoints used
/// when retrieving metadata. /// when retrieving metadata.

View File

@ -1,4 +1,4 @@
{ {
"version": "1.0.0-*", "version": "1.0.0-*",
"description": "ASP.NET 5 middleware that enables an application to receive a OAuth bearer token.", "description": "ASP.NET 5 middleware that enables an application to receive a OAuth bearer token.",
"dependencies": { "dependencies": {
@ -7,13 +7,13 @@
"System.IdentityModel.Tokens": "5.0.0-beta1-*" "System.IdentityModel.Tokens": "5.0.0-beta1-*"
}, },
"frameworks": { "frameworks": {
"aspnet50": { "dnx451": {
"frameworkAssemblies": { "frameworkAssemblies": {
"System.Net.Http.WebRequest": "", "System.Net.Http.WebRequest": "",
"System.Net.Http": "" "System.Net.Http": ""
} }
}, },
"aspnetcore50": { "dnxcore50": {
"dependencies": { "dependencies": {
"System.Net.Http.WinHttpHandler": "4.0.0-beta-*" "System.Net.Http.WinHttpHandler": "4.0.0-beta-*"
} }

View File

@ -139,7 +139,7 @@ namespace Microsoft.AspNet.Authentication.OpenIdConnect
private static HttpMessageHandler ResolveHttpMessageHandler(OpenIdConnectAuthenticationOptions options) private static HttpMessageHandler ResolveHttpMessageHandler(OpenIdConnectAuthenticationOptions options)
{ {
HttpMessageHandler handler = options.BackchannelHttpHandler ?? HttpMessageHandler handler = options.BackchannelHttpHandler ??
#if ASPNET50 #if DNX451
new WebRequestHandler(); new WebRequestHandler();
// If they provided a validator, apply it or fail. // If they provided a validator, apply it or fail.
if (options.BackchannelCertificateValidator != null) if (options.BackchannelCertificateValidator != null)

View File

@ -78,7 +78,7 @@ namespace Microsoft.AspNet.Authentication.OpenIdConnect
/// If the IdentityProvider does not post to this address, you may end up in a 401 -> IdentityProvider -> Client -> 401 -> ...</remarks> /// If the IdentityProvider does not post to this address, you may end up in a 401 -> IdentityProvider -> Client -> 401 -> ...</remarks>
public PathString CallbackPath { get; set; } public PathString CallbackPath { get; set; }
#if ASPNET50 #if DNX451
/// <summary> /// <summary>
/// Gets or sets the a pinned certificate validator to use to validate the endpoints used /// Gets or sets the a pinned certificate validator to use to validate the endpoints used
/// when retrieving metadata. /// when retrieving metadata.

View File

@ -1,21 +1,21 @@
{ {
"version": "1.0.0-*", "version": "1.0.0-*",
"dependencies": { "dependencies": {
"Microsoft.AspNet.Authentication": "1.0.0-*", "Microsoft.AspNet.Authentication": "1.0.0-*",
"Microsoft.IdentityModel.Protocol.Extensions": "2.0.0-beta1-*" "Microsoft.IdentityModel.Protocol.Extensions": "2.0.0-beta1-*"
}, },
"frameworks": { "frameworks": {
"aspnet50": { "dnx451": {
"frameworkAssemblies": { "frameworkAssemblies": {
"System.Net.Http": "", "System.Net.Http": "",
"System.Net.Http.WebRequest": "" "System.Net.Http.WebRequest": ""
} }
}, },
"aspnetcore50": { "dnxcore50": {
"dependencies": { "dependencies": {
"System.Collections.Specialized": "4.0.0-beta-*", "System.Collections.Specialized": "4.0.0-beta-*",
"System.Net.Http.WinHttpHandler": "4.0.0-beta-*" "System.Net.Http.WinHttpHandler": "4.0.0-beta-*"
} }
} }
} }
} }

View File

@ -1,4 +1,4 @@
// Copyright (c) Microsoft Open Technologies, Inc. All rights reserved. // Copyright (c) Microsoft Open Technologies, Inc. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System; using System;
@ -97,7 +97,7 @@ namespace Microsoft.AspNet.Authentication.Twitter
private static HttpMessageHandler ResolveHttpMessageHandler(TwitterAuthenticationOptions options) private static HttpMessageHandler ResolveHttpMessageHandler(TwitterAuthenticationOptions options)
{ {
HttpMessageHandler handler = options.BackchannelHttpHandler ?? HttpMessageHandler handler = options.BackchannelHttpHandler ??
#if ASPNET50 #if DNX451
new WebRequestHandler(); new WebRequestHandler();
// If they provided a validator, apply it or fail. // If they provided a validator, apply it or fail.
if (options.BackchannelCertificateValidator != null) if (options.BackchannelCertificateValidator != null)

View File

@ -1,4 +1,4 @@
// Copyright (c) Microsoft Open Technologies, Inc. All rights reserved. // Copyright (c) Microsoft Open Technologies, Inc. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System; using System;
@ -22,7 +22,7 @@ namespace Microsoft.AspNet.Authentication.Twitter
Caption = AuthenticationScheme; Caption = AuthenticationScheme;
CallbackPath = new PathString("/signin-twitter"); CallbackPath = new PathString("/signin-twitter");
BackchannelTimeout = TimeSpan.FromSeconds(60); BackchannelTimeout = TimeSpan.FromSeconds(60);
#if ASPNET50 #if DNX451
// Twitter lists its valid Subject Key Identifiers at https://dev.twitter.com/docs/security/using-ssl // Twitter lists its valid Subject Key Identifiers at https://dev.twitter.com/docs/security/using-ssl
BackchannelCertificateValidator = new CertificateSubjectKeyIdentifierValidator( BackchannelCertificateValidator = new CertificateSubjectKeyIdentifierValidator(
new[] new[]
@ -53,7 +53,7 @@ namespace Microsoft.AspNet.Authentication.Twitter
/// The back channel timeout. /// The back channel timeout.
/// </value> /// </value>
public TimeSpan BackchannelTimeout { get; set; } public TimeSpan BackchannelTimeout { get; set; }
#if ASPNET50 #if DNX451
/// <summary> /// <summary>
/// Gets or sets the a pinned certificate validator to use to validate the endpoints used /// Gets or sets the a pinned certificate validator to use to validate the endpoints used
/// in back channel communications belong to Twitter. /// in back channel communications belong to Twitter.

View File

@ -1,17 +1,17 @@
{ {
"version": "1.0.0-*", "version": "1.0.0-*",
"description": "ASP.NET 5 middleware that enables an application to support Twitter's OAuth 2.0 authentication workflow.", "description": "ASP.NET 5 middleware that enables an application to support Twitter's OAuth 2.0 authentication workflow.",
"dependencies": { "dependencies": {
"Microsoft.AspNet.Authentication": "1.0.0-*" "Microsoft.AspNet.Authentication": "1.0.0-*"
}, },
"frameworks": { "frameworks": {
"aspnet50": { "dnx451": {
"frameworkAssemblies": { "frameworkAssemblies": {
"System.Net.Http.WebRequest": "", "System.Net.Http.WebRequest": "",
"System.Net.Http": "" "System.Net.Http": ""
} }
}, },
"aspnetcore50": { "dnxcore50": {
"dependencies": { "dependencies": {
"System.Net.Http.WinHttpHandler": "4.0.0-beta-*" "System.Net.Http.WinHttpHandler": "4.0.0-beta-*"
} }

View File

@ -1,7 +1,7 @@
// Copyright (c) Microsoft Open Technologies, Inc. All rights reserved. // Copyright (c) Microsoft Open Technologies, Inc. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
#if ASPNET50 #if DNX451
using System; using System;
using System.Collections.Generic; using System.Collections.Generic;
using System.Net.Security; using System.Net.Security;

View File

@ -1,7 +1,7 @@
// Copyright (c) Microsoft Open Technologies, Inc. All rights reserved. // Copyright (c) Microsoft Open Technologies, Inc. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
#if ASPNET50 #if DNX451
using System; using System;
using System.Collections.Generic; using System.Collections.Generic;
using System.ComponentModel; using System.ComponentModel;

View File

@ -1,7 +1,7 @@
// Copyright (c) Microsoft Open Technologies, Inc. All rights reserved. // Copyright (c) Microsoft Open Technologies, Inc. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
#if ASPNET50 #if DNX451
using System; using System;
using System.Collections.Generic; using System.Collections.Generic;
using System.Net.Security; using System.Net.Security;

View File

@ -1,7 +1,7 @@
// Copyright (c) Microsoft Open Technologies, Inc. All rights reserved. // Copyright (c) Microsoft Open Technologies, Inc. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
#if ASPNET50 #if DNX451
using System; using System;
using System.Net.Security; using System.Net.Security;
using System.Security.Cryptography.X509Certificates; using System.Security.Cryptography.X509Certificates;

View File

@ -1,4 +1,4 @@
{ {
"version": "1.0.0-*", "version": "1.0.0-*",
"description": "ASP.NET 5 common types used by the various authentication middleware.", "description": "ASP.NET 5 common types used by the various authentication middleware.",
"dependencies": { "dependencies": {
@ -9,7 +9,7 @@
"Microsoft.Framework.Logging": "1.0.0-*" "Microsoft.Framework.Logging": "1.0.0-*"
}, },
"frameworks": { "frameworks": {
"aspnet50": { }, "dnx451": { },
"aspnetcore50": { } "dnxcore50": { }
} }
} }

View File

@ -1,4 +1,4 @@
{ {
"version": "1.0.0-*", "version": "1.0.0-*",
"description": "ASP.NET 5 authorization classes.", "description": "ASP.NET 5 authorization classes.",
"dependencies": { "dependencies": {
@ -7,7 +7,7 @@
"Microsoft.Framework.OptionsModel": "1.0.0-*" "Microsoft.Framework.OptionsModel": "1.0.0-*"
}, },
"frameworks": { "frameworks": {
"aspnet50": { }, "dnx451": { },
"aspnetcore50": { } "dnxcore50": { }
} }
} }

View File

@ -1,4 +1,4 @@
{ {
"compilationOptions": { "compilationOptions": {
"warningsAsErrors": true "warningsAsErrors": true
}, },
@ -18,7 +18,7 @@
"test": "xunit.runner.kre" "test": "xunit.runner.kre"
}, },
"frameworks": { "frameworks": {
"aspnet50": { "dnx451": {
"dependencies": { "dependencies": {
"Shouldly": "1.1.1.1" "Shouldly": "1.1.1.1"
} }

View File

@ -1,4 +1,4 @@
{ {
"compilationOptions": { "compilationOptions": {
"warningsAsErrors": true "warningsAsErrors": true
}, },
@ -12,7 +12,7 @@
"test": "xunit.runner.kre" "test": "xunit.runner.kre"
}, },
"frameworks": { "frameworks": {
"aspnet50": { "dnx451": {
"dependencies": { "dependencies": {
"Shouldly": "1.1.1.1" "Shouldly": "1.1.1.1"
} }