Skip to content

Commit 2cb41b7

Browse files
kevinchaletjerriep
authored andcommitted
React to namespace changes in ASP.NET 5 RC1
1 parent 635380d commit 2cb41b7

File tree

6 files changed

+9
-9
lines changed

6 files changed

+9
-9
lines changed

generators/app/templates/AuthenticationExtensions.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
using System;
88
using AspNet.Security.OAuth.<%= name %>;
9-
using Microsoft.Framework.Internal;
9+
using Microsoft.Extensions.Internal;
1010

1111
namespace Microsoft.AspNet.Builder {
1212
public static class <%= name %>AuthenticationExtensions {

generators/app/templates/AuthenticationHandler.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
using Microsoft.AspNet.Authentication;
1313
using Microsoft.AspNet.Authentication.OAuth;
1414
using Microsoft.AspNet.Http.Authentication;
15-
using Microsoft.Framework.Internal;
15+
using Microsoft.Extensions.Internal;
1616
using Newtonsoft.Json.Linq;
1717

1818
namespace AspNet.Security.OAuth.<%= name %> {

generators/app/templates/AuthenticationHelper.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
* for more information concerning the license and the contributors participating to this project.
55
*/
66

7-
using Microsoft.Framework.Internal;
7+
using Microsoft.Extensions.Internal;
88
using Newtonsoft.Json.Linq;
99

1010
namespace AspNet.Security.OAuth.<%= name %> {

generators/app/templates/AuthenticationMiddleware.cs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,10 @@
88
using Microsoft.AspNet.Authentication.OAuth;
99
using Microsoft.AspNet.Builder;
1010
using Microsoft.AspNet.DataProtection;
11-
using Microsoft.Framework.Internal;
12-
using Microsoft.Framework.Logging;
13-
using Microsoft.Framework.OptionsModel;
14-
using Microsoft.Framework.WebEncoders;
11+
using Microsoft.Extensions.Internal;
12+
using Microsoft.Extensions.Logging;
13+
using Microsoft.Extensions.OptionsModel;
14+
using Microsoft.Extensions.WebEncoders;
1515

1616
namespace AspNet.Security.OAuth.<%= name %> {
1717
public class <%= name %>AuthenticationMiddleware : OAuthMiddleware<<%= name %>AuthenticationOptions> {

generators/app/templates/project.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515

1616
"Microsoft.AspNet.Authentication.OAuth": "1.0.0-*",
1717

18-
"Microsoft.Framework.NotNullAttribute.Internal": {
18+
"Microsoft.Extensions.NotNullAttribute.Sources": {
1919
"type": "build",
2020
"version": "1.0.0-*"
2121
}

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "generator-aspnet-oauth",
3-
"version": "1.0.4",
3+
"version": "1.0.5",
44
"description": "Yeoman generator for OAuth Providers for ASP.NET 5",
55
"license": "MIT",
66
"main": "app/index.js",

0 commit comments

Comments
 (0)