Megosztás a következőn keresztül:


AuthorizationHandlerContext.FailureReasons Property

Definition

Gets the reasons why authorization has failed.

public virtual System.Collections.Generic.IEnumerable<Microsoft.AspNetCore.Authorization.AuthorizationFailureReason> FailureReasons { get; }
member this.FailureReasons : seq<Microsoft.AspNetCore.Authorization.AuthorizationFailureReason>
Public Overridable ReadOnly Property FailureReasons As IEnumerable(Of AuthorizationFailureReason)

Property Value

Applies to