Skip to content

Class TenantDomainOwnershipDnsTxtProofCollectionResult

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

Describes the result of one tenant-domain ownership DNS TXT proof collection attempt.

public sealed class TenantDomainOwnershipDnsTxtProofCollectionResult

objectTenantDomainOwnershipDnsTxtProofCollectionResult

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

TenantDomainOwnershipDnsTxtProofCollectionResult(string, string, string?, string, bool, bool, DateTimeOffset, Uri?, string?, int?, long?, int, string?, TenantDomainOwnershipProofPublicationPlanResult?, TenantDomainOwnershipProofEvaluationResult?, TenantDomainOwnershipDescriptor?, string, IReadOnlyDictionary<string, string>?)

Section titled “ TenantDomainOwnershipDnsTxtProofCollectionResult(string, string, string?, string, bool, bool, DateTimeOffset, Uri?, string?, int?, long?, int, string?, TenantDomainOwnershipProofPublicationPlanResult?, TenantDomainOwnershipProofEvaluationResult?, TenantDomainOwnershipDescriptor?, string, IReadOnlyDictionary<string, string>?)”

Creates a tenant-domain ownership DNS TXT proof collection result.

public TenantDomainOwnershipDnsTxtProofCollectionResult(string tenantId, string domainName, string? verificationMethod, string outcome, bool collected, bool evaluated, DateTimeOffset collectedAtUtc, Uri? resolverUri, string? dnsTxtRecordName, int? statusCode, long? contentLength, int observedTxtRecordCount, string? observedProofFingerprint, TenantDomainOwnershipProofPublicationPlanResult? publicationPlanResult, TenantDomainOwnershipProofEvaluationResult? evaluationResult, TenantDomainOwnershipDescriptor? domainOwnership, string reason, IReadOnlyDictionary<string, string>? metadata = null)

tenantId string

The tenant identifier that was evaluated.

domainName string

The canonical domain name that was evaluated.

verificationMethod string?

The verification method used for collection.

outcome string

The stable DNS TXT proof collection outcome.

collected bool

A value indicating whether DNS TXT proof content was collected.

evaluated bool

A value indicating whether proof evaluation reached a terminal workflow outcome.

collectedAtUtc DateTimeOffset

The UTC timestamp when collection executed.

resolverUri Uri?

The resolver URI used to collect the DNS TXT proof.

dnsTxtRecordName string?

The DNS TXT record name queried during collection.

statusCode int?

The HTTP status code returned by the DNS TXT resolver.

contentLength long?

The collected DNS TXT resolver response body length.

observedTxtRecordCount int

The number of TXT answers observed by collection.

observedProofFingerprint string?

The SHA-256 fingerprint of the matching collected TXT proof.

publicationPlanResult TenantDomainOwnershipProofPublicationPlanResult?

The publication-plan result used by collection.

evaluationResult TenantDomainOwnershipProofEvaluationResult?

The proof-evaluation result produced after collection.

domainOwnership TenantDomainOwnershipDescriptor?

The matching or resulting domain ownership descriptor when one exists.

reason string

The operator-facing DNS TXT proof collection reason.

metadata IReadOnlyDictionary<string, string>?

Optional result metadata.

Gets a value indicating whether DNS TXT proof content was collected.

public bool Collected { get; }

bool

Gets the UTC timestamp when collection executed.

public DateTimeOffset CollectedAtUtc { get; }

DateTimeOffset

Gets the collected DNS TXT resolver response body length.

public long? ContentLength { get; }

long?

Gets the DNS TXT record name queried during collection.

public string? DnsTxtRecordName { get; }

string?

Gets the canonical domain name that was evaluated.

public string DomainName { get; }

string

Gets the matching or resulting domain ownership descriptor when one exists.

public TenantDomainOwnershipDescriptor? DomainOwnership { get; }

TenantDomainOwnershipDescriptor?

Gets a value indicating whether proof evaluation reached a terminal workflow outcome.

public bool Evaluated { get; }

bool

Gets the proof-evaluation result produced after collection.

public TenantDomainOwnershipProofEvaluationResult? EvaluationResult { get; }

TenantDomainOwnershipProofEvaluationResult?

Gets optional result metadata.

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

IReadOnlyDictionary<string, string>

Gets the SHA-256 fingerprint of the matching collected TXT proof.

public string? ObservedProofFingerprint { get; }

string?

Gets the number of TXT answers observed by collection.

public int ObservedTxtRecordCount { get; }

int

Gets the stable DNS TXT proof collection outcome.

public string Outcome { get; }

string

Gets the publication-plan result used by collection.

public TenantDomainOwnershipProofPublicationPlanResult? PublicationPlanResult { get; }

TenantDomainOwnershipProofPublicationPlanResult?

Gets the operator-facing DNS TXT proof collection reason.

public string Reason { get; }

string

Gets the resolver URI used to collect the DNS TXT proof.

public Uri? ResolverUri { get; }

Uri?

Gets the HTTP status code returned by the DNS TXT resolver.

public int? StatusCode { get; }

int?

Gets the tenant identifier that was evaluated.

public string TenantId { get; }

string

Gets the verification method used for collection.

public string? VerificationMethod { get; }

string?