public AuthenticationHub(IMediator mediator, ILogger logger, IMappingService mappingService, IRequestDispatchingProxy requestDispatchingProxy, IOAuthClientService service, IAuthenticationApi authenticationApi, IOAuthHelper oauthHelper = null) : base(mediator, logger, mappingService, requestDispatchingProxy, oauthHelper) { _service = service; _authenticationApi = authenticationApi; }
protected MediatedHubBase(IMediator mediator, ILogger logger, IMappingService mappingService, IRequestDispatchingProxy requestDispatchingProxy, IOAuthHelper oauthHelper = null) { InstanceKey = Guid.NewGuid(); Logger = logger; MappingService = mappingService; RequestDispatchingProxy = requestDispatchingProxy; OAuthHelper = oauthHelper; if (mediator == null) { mediator = Mediator.Default; } mediator.RegisterAllHandlers(this); }
public TrialHub(IMediator mediator, ILogger logger, IMappingService mappingService, IRequestDispatchingProxy requestDispatchingProxy, IOAuthHelper oauthHelper = null) : base(mediator, logger, mappingService, requestDispatchingProxy, oauthHelper) { }