Run `[RequireHttps]` filter early in pipeline

This commit is contained in:
Doug Bunting 2017-12-01 11:00:45 -08:00
parent 55fdbc24ed
commit 5d9f04cf34
1 changed files with 2 additions and 1 deletions

View File

@ -28,7 +28,8 @@ namespace Microsoft.AspNetCore.Mvc
}
/// <inheritdoc />
public int Order { get; set; }
/// <value>Default is <c>int.MinValue + 50</c> to run this <see cref="IAuthorizationFilter"/> early.</value>
public int Order { get; set; } = int.MinValue + 50;
/// <summary>
/// Called early in the filter pipeline to confirm request is authorized. Confirms requests are received over