diff --git a/src/Http/Http.Abstractions/ref/Microsoft.AspNetCore.Http.Abstractions.netcoreapp3.0.cs b/src/Http/Http.Abstractions/ref/Microsoft.AspNetCore.Http.Abstractions.netcoreapp3.0.cs
index ed75fdf6e4..858205965d 100644
--- a/src/Http/Http.Abstractions/ref/Microsoft.AspNetCore.Http.Abstractions.netcoreapp3.0.cs
+++ b/src/Http/Http.Abstractions/ref/Microsoft.AspNetCore.Http.Abstractions.netcoreapp3.0.cs
@@ -1,6 +1,18 @@
// Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
+namespace Microsoft.AspNetCore.Authorization
+{
+ public partial interface IAllowAnonymous
+ {
+ }
+ public partial interface IAuthorizeData
+ {
+ string AuthenticationSchemes { get; set; }
+ string Policy { get; set; }
+ string Roles { get; set; }
+ }
+}
namespace Microsoft.AspNetCore.Builder
{
public abstract partial class EndpointBuilder
@@ -87,6 +99,12 @@ namespace Microsoft.AspNetCore.Builder.Extensions
public System.Threading.Tasks.Task Invoke(Microsoft.AspNetCore.Http.HttpContext context) { throw null; }
}
}
+namespace Microsoft.AspNetCore.Cors.Infrastructure
+{
+ public partial interface ICorsMetadata
+ {
+ }
+}
namespace Microsoft.AspNetCore.Http
{
public abstract partial class ConnectionInfo
diff --git a/src/Security/Authorization/Core/src/IAllowAnonymous.cs b/src/Http/Http.Abstractions/src/IAllowAnonymous.cs
similarity index 79%
rename from src/Security/Authorization/Core/src/IAllowAnonymous.cs
rename to src/Http/Http.Abstractions/src/IAllowAnonymous.cs
index 8531c3daab..1ea1cf5d06 100644
--- a/src/Security/Authorization/Core/src/IAllowAnonymous.cs
+++ b/src/Http/Http.Abstractions/src/IAllowAnonymous.cs
@@ -4,7 +4,7 @@
namespace Microsoft.AspNetCore.Authorization
{
///
- /// Marker interface to enable the .
+ /// Marker interface to allow access to anonymous users.
///
public interface IAllowAnonymous
{
diff --git a/src/Security/Authorization/Core/src/IAuthorizeData.cs b/src/Http/Http.Abstractions/src/IAuthorizeData.cs
similarity index 100%
rename from src/Security/Authorization/Core/src/IAuthorizeData.cs
rename to src/Http/Http.Abstractions/src/IAuthorizeData.cs
diff --git a/src/Middleware/CORS/src/Infrastructure/ICorsMetadata.cs b/src/Http/Http.Abstractions/src/ICorsMetadata.cs
similarity index 100%
rename from src/Middleware/CORS/src/Infrastructure/ICorsMetadata.cs
rename to src/Http/Http.Abstractions/src/ICorsMetadata.cs
diff --git a/src/Http/Routing/ref/Microsoft.AspNetCore.Routing.netcoreapp3.0.cs b/src/Http/Routing/ref/Microsoft.AspNetCore.Routing.netcoreapp3.0.cs
index ba1fc3fc6f..b83aa2efeb 100644
--- a/src/Http/Routing/ref/Microsoft.AspNetCore.Routing.netcoreapp3.0.cs
+++ b/src/Http/Routing/ref/Microsoft.AspNetCore.Routing.netcoreapp3.0.cs
@@ -322,6 +322,7 @@ namespace Microsoft.AspNetCore.Routing
public System.Collections.Generic.ICollection EndpointDataSources { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } }
public bool LowercaseQueryStrings { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } [System.Runtime.CompilerServices.CompilerGeneratedAttribute]set { } }
public bool LowercaseUrls { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } [System.Runtime.CompilerServices.CompilerGeneratedAttribute]set { } }
+ public bool SuppressCheckForUnhandledSecurityMetadata { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } [System.Runtime.CompilerServices.CompilerGeneratedAttribute]set { } }
}
public partial class RouteValueEqualityComparer : System.Collections.Generic.IEqualityComparer