Skip to content

Interface ITenantInvitationDeliverySender

Namespace: Cephalon.MultiTenancy.Governance.Services
Assembly: Cephalon.MultiTenancy.Governance.dll

Sends tenant invitation delivery payloads for a host or provider-specific channel.

public interface ITenantInvitationDeliverySender

Sender implementations own external delivery behavior and provider semantics. Cephalon calls the sender only after resolving a pending invitation and records the returned outcome without assuming that every provider can guarantee final recipient delivery.

Gets the stable sender identifier used by configuration, runtime metadata, and diagnostics.

string SenderId { get; }

string

SendAsync(TenantInvitationDeliveryContext, CancellationToken)

Section titled “ SendAsync(TenantInvitationDeliveryContext, CancellationToken)”

Sends or queues one tenant invitation delivery payload.

ValueTask<TenantInvitationDeliverySenderResult> SendAsync(TenantInvitationDeliveryContext context, CancellationToken cancellationToken = default)

context TenantInvitationDeliveryContext

The delivery context resolved by the governance companion pack.

cancellationToken CancellationToken

A token that cancels sender execution.

ValueTask<TenantInvitationDeliverySenderResult>

The provider-specific sender outcome normalized for Cephalon runtime reporting.