File: Authorization\SamplePolicyNames.cs
Web Access
Project: src\src\Security\samples\CustomAuthorizationFailureResponse\CustomAuthorizationFailureResponse.csproj (CustomAuthorizationFailureResponse)
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
 
namespace CustomAuthorizationFailureResponse.Authorization;
 
public static class SamplePolicyNames
{
    public const string CustomPolicy = "Custom";
    public const string CustomPolicyWithCustomForbiddenMessage = "CustomPolicyWithCustomForbiddenMessage";
    public const string FailureReasonPolicy = "FailureReason";
}