Example #1
0
 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;
 }
Example #2
0
        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);
        }
Example #3
0
 public TrialHub(IMediator mediator, ILogger logger, IMappingService mappingService,
                 IRequestDispatchingProxy requestDispatchingProxy, IOAuthHelper oauthHelper = null)
     : base(mediator, logger, mappingService, requestDispatchingProxy, oauthHelper)
 {
 }