예제 #1
0
 public HttpRequestCompletenessValidatingEndpoint(IHttpRequestCondition httpRequestCondition,
                                                  IEndpointsSupport support, IAsyncEndpoint next)
 {
     _next = next;
     _httpRequestCondition = httpRequestCondition;
     _support = support;
 }
예제 #2
0
 public AuthorizationEndpoint(IEndpointsSupport support,
                              TokenValidationParameters tokenValidationParameters, IAsyncEndpoint next)
 {
     _support = support;
     _tokenValidationParameters = tokenValidationParameters;
     _next = next;
 }
 public EndpointWithSupportScope(
     ILoggedPropertySet loggedPropertySet,
     IEndpointsSupport serviceSupport,
     IAsyncEndpoint next)
 {
     _next              = next;
     _support           = serviceSupport;
     _loggedPropertySet = loggedPropertySet;
 }
예제 #4
0
 private static EndpointWithFallbackExceptionHandling StandardEndpoint(
     IEndpointsSupport support,
     IRequestProcessingPolicy policy,
     IAsyncEndpoint executingCommandEndpoint)
 {
     return(new EndpointWithFallbackExceptionHandling(
                support,
                new EndpointWithRequestIdAsTraceId(
                    new EndpointWithSupportScope(policy.InitialSupportScopeProperties(),
                                                 support,
                                                 new HttpRequestCompletenessValidatingEndpoint(policy.HttpRequestCompletenessCondition(),
                                                                                               support,
                                                                                               new EndpointWithSupportScope(policy.AdditionalPostValidationSupportScopeProperties(),
                                                                                                                            support,
                                                                                                                            new AuthorizationEndpoint(
                                                                                                                                support,
                                                                                                                                policy.TokenValidationParameters(),
                                                                                                                                executingCommandEndpoint)))))));
 }
예제 #5
0
 public EndpointWithRequestIdAsTraceId(IAsyncEndpoint next)
 {
     _next = next;
 }
예제 #6
0
 public EndpointWithFallbackExceptionHandling(IEndpointsSupport support, IAsyncEndpoint next)
 {
     _support = support;
     _next    = next;
 }