Skip to content

Class TenantInvitationDeliveryContext

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

Describes the tenant invitation payload passed to an invitation delivery sender.

public sealed class TenantInvitationDeliveryContext

objectTenantInvitationDeliveryContext

object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.ReferenceEquals(object?, object?), object.ToString()

TenantInvitationDeliveryContext(TenantInvitationDescriptor, string, string?, string?, string?, DateTimeOffset, string?, IReadOnlyDictionary<string, string>?)

Section titled “ TenantInvitationDeliveryContext(TenantInvitationDescriptor, string, string?, string?, string?, DateTimeOffset, string?, IReadOnlyDictionary<string, string>?)”

Creates a tenant invitation delivery context.

public TenantInvitationDeliveryContext(TenantInvitationDescriptor invitation, string channel, string? requestedSenderId, string? source, string? actor, DateTimeOffset dispatchedAtUtc, string? correlationId = null, IReadOnlyDictionary<string, string>? metadata = null)

invitation TenantInvitationDescriptor

The invitation being delivered.

channel string

The requested delivery channel.

requestedSenderId string?

The requested sender identifier when one was specified.

source string?

The source that requested delivery dispatch.

actor string?

The actor that requested delivery dispatch when known.

dispatchedAtUtc DateTimeOffset

The UTC timestamp used for dispatch.

correlationId string?

The optional correlation identifier for delivery dispatch.

metadata IReadOnlyDictionary<string, string>?

Optional request metadata for the sender.

Gets the actor that requested delivery dispatch when known.

public string? Actor { get; }

string?

Gets the requested delivery channel.

public string Channel { get; }

string

Gets the optional correlation identifier for delivery dispatch.

public string? CorrelationId { get; }

string?

Gets the UTC timestamp used for dispatch.

public DateTimeOffset DispatchedAtUtc { get; }

DateTimeOffset

Gets the optional operator-facing invitation name.

public string? DisplayName { get; }

string?

Gets the invitation being delivered.

public TenantInvitationDescriptor Invitation { get; }

TenantInvitationDescriptor

Gets the invitation identifier.

public string InvitationId { get; }

string

Gets the invitee identifier.

public string InviteeId { get; }

string

Gets the invitee kind, such as user, group, service, or organization.

public string InviteeKind { get; }

string

Gets optional request metadata for the sender.

public IReadOnlyDictionary<string, string> Metadata { get; }

IReadOnlyDictionary<string, string>

Gets the requested sender identifier when one was specified.

public string? RequestedSenderId { get; }

string?

Gets the tenant-local roles proposed by the invitation.

public IReadOnlyList<string> Roles { get; }

IReadOnlyList<string>

Gets the source that requested delivery dispatch.

public string? Source { get; }

string?

Gets the tenant identifier.

public string TenantId { get; }

string