Class TenantInvitationDescriptor
Namespace: Cephalon.MultiTenancy.Governance.Services
Assembly: Cephalon.MultiTenancy.Governance.dll
Describes one invitation to join or access a tenant.
public sealed class TenantInvitationDescriptorInheritance
Section titled “Inheritance”object ← TenantInvitationDescriptor
Inherited Members
Section titled “Inherited Members”object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.ReferenceEquals(object?, object?), object.ToString()
Constructors
Section titled “Constructors”TenantInvitationDescriptor(string, string, string, string?, string?, IReadOnlyList<string>?, string, DateTimeOffset?, DateTimeOffset?, string?, IReadOnlyDictionary<string, string>?)
Section titled “ TenantInvitationDescriptor(string, string, string, string?, string?, IReadOnlyList<string>?, string, DateTimeOffset?, DateTimeOffset?, string?, IReadOnlyDictionary<string, string>?)”Creates a new tenant-invitation descriptor.
public TenantInvitationDescriptor(string invitationId, string tenantId, string inviteeId, string? inviteeKind = null, string? displayName = null, IReadOnlyList<string>? roles = null, string status = "pending", DateTimeOffset? createdAtUtc = null, DateTimeOffset? expiresAtUtc = null, string? sourceModuleId = null, IReadOnlyDictionary<string, string>? metadata = null)Parameters
Section titled “Parameters”invitationId string
The stable invitation identifier within the tenant.
tenantId string
The stable tenant identifier.
inviteeId string
The stable invitee identifier.
inviteeKind string?
The invitee kind, such as user, group, service, or organization.
displayName string?
The optional operator-facing invitation name.
roles IReadOnlyList<string>?
The tenant-local roles proposed by the invitation.
status string
The invitation status.
createdAtUtc DateTimeOffset?
The UTC timestamp when the invitation was created.
expiresAtUtc DateTimeOffset?
The UTC timestamp when the invitation expires.
sourceModuleId string?
The module that contributed the invitation when one is known.
metadata IReadOnlyDictionary<string, string>?
Optional operator-facing metadata attached to the invitation.
Properties
Section titled “Properties”CreatedAtUtc
Section titled “ CreatedAtUtc”Gets the UTC timestamp when the invitation was created.
public DateTimeOffset? CreatedAtUtc { get; }Property Value
Section titled “Property Value”DisplayName
Section titled “ DisplayName”Gets the optional operator-facing invitation name.
public string? DisplayName { get; }Property Value
Section titled “Property Value”ExpiresAtUtc
Section titled “ ExpiresAtUtc”Gets the UTC timestamp when the invitation expires.
public DateTimeOffset? ExpiresAtUtc { get; }Property Value
Section titled “Property Value”InvitationId
Section titled “ InvitationId”Gets the stable invitation identifier within the tenant.
public string InvitationId { get; }Property Value
Section titled “Property Value”InviteeId
Section titled “ InviteeId”Gets the stable invitee identifier.
public string InviteeId { get; }Property Value
Section titled “Property Value”InviteeKind
Section titled “ InviteeKind”Gets the invitee kind, such as user, group, service, or organization.
public string InviteeKind { get; }Property Value
Section titled “Property Value”Metadata
Section titled “ Metadata”Gets optional operator-facing metadata attached to the invitation.
public IReadOnlyDictionary<string, string> Metadata { get; }Property Value
Section titled “Property Value”IReadOnlyDictionary<string, string>
Gets the tenant-local roles proposed by the invitation.
public IReadOnlyList<string> Roles { get; }Property Value
Section titled “Property Value”SourceModuleId
Section titled “ SourceModuleId”Gets the module that contributed the invitation when one is known.
public string? SourceModuleId { get; }Property Value
Section titled “Property Value”Status
Section titled “ Status”Gets the invitation status.
public string Status { get; }Property Value
Section titled “Property Value”TenantId
Section titled “ TenantId”Gets the stable tenant identifier.
public string TenantId { get; }