Skip to content

Class TenantDomainOwnershipValidationRequest

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

Describes one request to validate declared tenant-domain ownership.

public sealed class TenantDomainOwnershipValidationRequest

objectTenantDomainOwnershipValidationRequest

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

TenantDomainOwnershipValidationRequest(string, string, DateTimeOffset?, string?, IReadOnlyDictionary<string, string>?)

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

Creates a tenant-domain ownership validation request.

public TenantDomainOwnershipValidationRequest(string tenantId, string domainName, DateTimeOffset? atUtc = null, string? correlationId = null, IReadOnlyDictionary<string, string>? metadata = null)

tenantId string

The tenant identifier to validate.

domainName string

The domain name to validate.

atUtc DateTimeOffset?

The UTC timestamp used for expiration evaluation. The runtime clock is used when omitted.

correlationId string?

The optional correlation identifier for the validation.

metadata IReadOnlyDictionary<string, string>?

Optional request metadata.

Gets the UTC timestamp used for expiration evaluation.

public DateTimeOffset? AtUtc { get; }

DateTimeOffset?

Gets the optional correlation identifier for the validation.

public string? CorrelationId { get; }

string?

Gets the canonical domain name to validate.

public string DomainName { get; }

string

Gets optional request metadata.

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

IReadOnlyDictionary<string, string>

Gets the tenant identifier to validate.

public string TenantId { get; }

string