Skip to content

Commit d7b210b

Browse files
committed
React to API changes in aspnet/HttpAbstractions
aspnet/HttpAbstractions@be4fb46 aspnet/HttpAbstractions@c809462
1 parent 2cb41b7 commit d7b210b

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

generators/app/templates/AuthenticationMiddleware.cs

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

7+
using System.Text.Encodings.Web;
78
using Microsoft.AspNet.Authentication;
89
using Microsoft.AspNet.Authentication.OAuth;
9-
using Microsoft.AspNet.Builder;
1010
using Microsoft.AspNet.DataProtection;
11+
using Microsoft.AspNet.Http;
1112
using Microsoft.Extensions.Internal;
1213
using Microsoft.Extensions.Logging;
1314
using Microsoft.Extensions.OptionsModel;
14-
using Microsoft.Extensions.WebEncoders;
1515

1616
namespace AspNet.Security.OAuth.<%= name %> {
1717
public class <%= name %>AuthenticationMiddleware : OAuthMiddleware<<%= name %>AuthenticationOptions> {
@@ -20,7 +20,7 @@ public class <%= name %>AuthenticationMiddleware : OAuthMiddleware<<%= name %>Au
2020
[NotNull] <%= name %>AuthenticationOptions options,
2121
[NotNull] IDataProtectionProvider dataProtectionProvider,
2222
[NotNull] ILoggerFactory loggerFactory,
23-
[NotNull] IUrlEncoder encoder,
23+
[NotNull] UrlEncoder encoder,
2424
[NotNull] IOptions<SharedAuthenticationOptions> externalOptions)
2525
: base(next, dataProtectionProvider, loggerFactory, encoder, externalOptions, options) {
2626
}

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.5",
3+
"version": "1.0.6",
44
"description": "Yeoman generator for OAuth Providers for ASP.NET 5",
55
"license": "MIT",
66
"main": "app/index.js",

0 commit comments

Comments
 (0)