public PushController(IPushService pushService, ILogger <PushController> logger, IPushConfigurationManager pushConfigurationManager) { this.pushService = pushService; this.logger = logger; this.pushConfigurationManager = pushConfigurationManager; }
public static async Task UpdateAsync(this IPushConfigurationManager pushConfigurationManager, string userId, string configurationId, FirebasePushChannelRegistration registration) { await pushConfigurationManager.UpdateAsync(userId, configurationId, ToPushChannelRegistration(registration)); }
public static async Task <PushChannelConfiguration> RegisterAsync(this IPushConfigurationManager pushConfigurationManager, string userId, FirebasePushChannelRegistration registration) { return(await pushConfigurationManager.RegisterAsync(userId, ToPushChannelRegistration(registration))); }
public PushChannelsController(IPushConfigurationManager pushConfigurationManager) { this.pushConfigurationManager = pushConfigurationManager; }