Esempio n. 1
0
 public AuthorizationBehavior(IAuthorizationPolicyExecutor policyExecutor, IAuthorizationFailureHandler failureHandler, IFubuRequest request, IEnumerable <IAuthorizationPolicy> policies) : base(PartialBehavior.Executes)
 {
     _policyExecutor = policyExecutor;
     _failureHandler = failureHandler;
     _request        = request;
     _policies       = policies;
 }
Esempio n. 2
0
 public AuthorizationBehavior(IAuthorizationPolicyExecutor policyExecutor, IAuthorizationFailureHandler failureHandler, IFubuRequest request, IEnumerable<IAuthorizationPolicy> policies)
     : base(PartialBehavior.Executes)
 {
     _policyExecutor = policyExecutor;
     _failureHandler = failureHandler;
     _request = request;
     _policies = policies;
 }