# Microsoft.AspNetCore.Authorization

``` diff
 namespace Microsoft.AspNetCore.Authorization {
     public class AuthorizationFailure {
+        public IEnumerable<AuthorizationFailureReason> FailureReasons { get; }
+        public static AuthorizationFailure Failed(IEnumerable<AuthorizationFailureReason> reasons);
     }
+    public class AuthorizationFailureReason {
+        public AuthorizationFailureReason(IAuthorizationHandler handler, string message);
+        public IAuthorizationHandler Handler { get; }
+        public string Message { get; }
+    }
     public class AuthorizationHandlerContext {
+        public virtual IEnumerable<AuthorizationFailureReason> FailureReasons { get; }
+        public virtual void Fail(AuthorizationFailureReason reason);
     }
 }
```

