AuthorizationFailureHandler Property
Definition
- Namespace
- Cuemon.Extensions.AspNetCore.Authentication
- Assemblies
- Cuemon.Extensions.AspNetCore.Authentication.dll
AuthorizationFailureHandler
Gets or sets the function delegate that provides the reason/requirement/generic message of the failed authorization.
public Func<AuthorizationFailure, HttpStatusCodeException> AuthorizationFailureHandler { get; set; }
Property Value
- Func<AuthorizationFailure, HttpStatusCodeException>
The function delegate that provides the reason/requirement/generic message of the failed authorization.