Table of Contents

Class NotificationsClient

Namespace
KadicAuth.Infrastructure.Services
Assembly
KadicAuth.Infrastructure.dll
public sealed class NotificationsClient : INotificationsClient
Inheritance
object
NotificationsClient
Implements

Constructors

NotificationsClient(HttpClient, IOptions<PasswordResetEmailOptions>, ILogger<NotificationsClient>)

public NotificationsClient(HttpClient httpClient, IOptions<PasswordResetEmailOptions> options, ILogger<NotificationsClient> logger)

Parameters

httpClient HttpClient
options IOptions<PasswordResetEmailOptions>
logger ILogger<NotificationsClient>

Methods

SendGlobalTemplateEmailAsync(string, IEnumerable<string>, IEnumerable<string>?, Dictionary<string, object>, Guid, bool, DateTimeOffset?, CancellationToken)

public Task SendGlobalTemplateEmailAsync(string templateCode, IEnumerable<string> to, IEnumerable<string>? cc, Dictionary<string, object> data, Guid channelId, bool sendNow = true, DateTimeOffset? scheduledFor = null, CancellationToken cancellationToken = default)

Parameters

templateCode string
to IEnumerable<string>
cc IEnumerable<string>
data Dictionary<string, object>
channelId Guid
sendNow bool
scheduledFor DateTimeOffset?
cancellationToken CancellationToken

Returns

Task