Skip to content
This repository has been archived by the owner on Dec 14, 2018. It is now read-only.

Commit

Permalink
[Fixes #4310] Moved AuthorizeFilter and CorsAuthorizationFilter to a …
Browse files Browse the repository at this point in the history
…public namespace
  • Loading branch information
ajaybhargavb committed Mar 18, 2016
1 parent fd98456 commit 3666966
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Internal;

namespace Microsoft.AspNetCore.Mvc.Internal
namespace Microsoft.AspNetCore.Mvc
{
/// <summary>
/// An implementation of <see cref="IAsyncAuthorizationFilter"/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,11 @@
using System.Threading.Tasks;
using Microsoft.AspNetCore.Cors.Infrastructure;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc.Cors.Internal;
using Microsoft.AspNetCore.Mvc.Filters;
using Microsoft.Extensions.Primitives;

namespace Microsoft.AspNetCore.Mvc.Cors.Internal
namespace Microsoft.AspNetCore.Mvc.Cors
{
/// <summary>
/// A filter which applies the given <see cref="CorsPolicy"/> and adds appropriate response headers.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
using System;
using Microsoft.AspNetCore.Cors.Infrastructure;
using Microsoft.AspNetCore.Mvc.ApplicationModels;
using Microsoft.AspNetCore.Mvc.Cors;
using Microsoft.AspNetCore.Mvc.Cors.Internal;
using Microsoft.Extensions.DependencyInjection.Extensions;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,13 @@
using Microsoft.AspNetCore.Http.Authentication;
using Microsoft.AspNetCore.Mvc.Abstractions;
using Microsoft.AspNetCore.Mvc.Filters;
using Microsoft.AspNetCore.Mvc.Internal;
using Microsoft.AspNetCore.Routing;
using Microsoft.Extensions.DependencyInjection;
using Moq;
using Xunit;

namespace Microsoft.AspNetCore.Mvc.Internal
namespace Microsoft.AspNetCore.Mvc
{
public class AuthorizeFilterTest
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
using Moq;
using Xunit;

namespace Microsoft.AspNetCore.Mvc.Cors.Internal
namespace Microsoft.AspNetCore.Mvc.Cors
{
public class CorsAuthorizationFilterTest
{
Expand Down

0 comments on commit 3666966

Please sign in to comment.