public AppStartupController(IHubRegistrationService hubRegistrationService, IUserAuthenticationService userAuthenticationService, IOptionsMonitor <Auth0Config> auth0ConfigAccessor) { _hubRegistrationService = hubRegistrationService; _userAuthenticationService = userAuthenticationService; _auth0ConfigAccessor = auth0ConfigAccessor; }
public static Task<UpdateRegistrationResponseModel> UpdateHubRegistration( this IHubRegistrationService hubRegistrationService, UpdateRegistrationRequestModel updateRegistrationRequestModel) { return hubRegistrationService.UpdateHubRegistration(updateRegistrationRequestModel.Handle, updateRegistrationRequestModel.Platform, updateRegistrationRequestModel.RegistrationId, updateRegistrationRequestModel.Username); }
public static Task<HubRegistrationModel> CreateHubRegistration( this IHubRegistrationService hubRegistrationService, RegistrationRequestModel registrationRequestModel) { return hubRegistrationService.CreateHubRegistration(registrationRequestModel.Handle); }