public ApiActionAuthenticationFilter() { _authenticationHandle = AutofacConfig.AutoFacContainer.container.Resolve <IApiAuthenticationHandle>(); }
public ApiAuthenticationMiddleware(RequestDelegate next, IApiAuthenticationHandle authenticationHandle) { this._next = next; this._authenticationHandle = authenticationHandle; }