1631786ce2
Add push contracts, provider delivery and channel diagnostics. Link email channels to services and document migration and validation. Ref: IT-1074
14 lines
724 B
C#
14 lines
724 B
C#
using HrynCo.NotificationService.Contracts.Messages;
|
|
using HrynCo.NotificationService.DAL.Abstract.Push;
|
|
using HrynCo.NotificationService.DAL.Abstract.PushChannels;
|
|
|
|
namespace HrynCo.NotificationService.Worker.Services.Push;
|
|
|
|
public interface IFirebasePushClient
|
|
{
|
|
Task<PushDeliveryOutcome> CheckAuthorizationAsync(FirebaseServiceAccountCredentials credentials, CancellationToken cancellationToken);
|
|
Task<PushDeliveryOutcome> SendTestAsync(string token, FirebaseServiceAccountCredentials credentials, CancellationToken cancellationToken);
|
|
Task<PushDeliveryOutcome> SendAsync(Guid messageId, SendPushMessageData data,
|
|
FirebaseServiceAccountCredentials credentials, CancellationToken cancellationToken);
|
|
}
|