Skip to content

Class TenantDomainOwnershipProofVerificationResult

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

Describes the result of one tenant-domain ownership proof verification runner attempt.

public sealed class TenantDomainOwnershipProofVerificationResult

objectTenantDomainOwnershipProofVerificationResult

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

TenantDomainOwnershipProofVerificationResult(string, string, string?, string, bool, bool, bool, bool, bool, bool, DateTimeOffset, TenantDomainOwnershipProofChallengeResult?, TenantDomainOwnershipProofPublicationPlanResult?, TenantDomainOwnershipHttpProofCollectionResult?, TenantDomainOwnershipDnsTxtProofCollectionResult?, TenantDomainOwnershipProofEvaluationResult?, TenantDomainOwnershipDescriptor?, string, IReadOnlyDictionary<string, string>?)

Section titled “ TenantDomainOwnershipProofVerificationResult(string, string, string?, string, bool, bool, bool, bool, bool, bool, DateTimeOffset, TenantDomainOwnershipProofChallengeResult?, TenantDomainOwnershipProofPublicationPlanResult?, TenantDomainOwnershipHttpProofCollectionResult?, TenantDomainOwnershipDnsTxtProofCollectionResult?, TenantDomainOwnershipProofEvaluationResult?, TenantDomainOwnershipDescriptor?, string, IReadOnlyDictionary<string, string>?)”

Creates a tenant-domain ownership proof verification runner result.

public TenantDomainOwnershipProofVerificationResult(string tenantId, string domainName, string? verificationMethod, string outcome, bool verified, bool rejected, bool challengeIssued, bool publicationPlanned, bool proofCollected, bool proofEvaluated, DateTimeOffset ranAtUtc, TenantDomainOwnershipProofChallengeResult? challengeResult, TenantDomainOwnershipProofPublicationPlanResult? publicationPlanResult, TenantDomainOwnershipHttpProofCollectionResult? httpProofCollectionResult, TenantDomainOwnershipDnsTxtProofCollectionResult? dnsTxtProofCollectionResult, 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 by the runner.

outcome string

The stable proof verification runner outcome.

verified bool

A value indicating whether the run verified the declaration.

rejected bool

A value indicating whether the run rejected the declaration.

challengeIssued bool

A value indicating whether the run issued a proof challenge.

publicationPlanned bool

A value indicating whether the run generated publication instructions.

proofCollected bool

A value indicating whether the run collected proof content.

proofEvaluated bool

A value indicating whether the run evaluated observed proof.

ranAtUtc DateTimeOffset

The UTC timestamp when the runner executed.

challengeResult TenantDomainOwnershipProofChallengeResult?

The nested proof challenge result when one ran.

publicationPlanResult TenantDomainOwnershipProofPublicationPlanResult?

The nested publication plan result when one ran.

httpProofCollectionResult TenantDomainOwnershipHttpProofCollectionResult?

The nested HTTP proof collection result when one ran.

dnsTxtProofCollectionResult TenantDomainOwnershipDnsTxtProofCollectionResult?

The nested DNS TXT proof collection result when one ran.

evaluationResult TenantDomainOwnershipProofEvaluationResult?

The nested proof evaluation result when one ran.

domainOwnership TenantDomainOwnershipDescriptor?

The matching or resulting domain ownership descriptor when one exists.

reason string

The operator-facing proof verification reason.

metadata IReadOnlyDictionary<string, string>?

Optional result metadata.

Gets a value indicating whether the run issued a proof challenge.

public bool ChallengeIssued { get; }

bool

Gets the nested proof challenge result when one ran.

public TenantDomainOwnershipProofChallengeResult? ChallengeResult { get; }

TenantDomainOwnershipProofChallengeResult?

Gets the nested DNS TXT proof collection result when one ran.

public TenantDomainOwnershipDnsTxtProofCollectionResult? DnsTxtProofCollectionResult { get; }

TenantDomainOwnershipDnsTxtProofCollectionResult?

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 the nested proof evaluation result when one ran.

public TenantDomainOwnershipProofEvaluationResult? EvaluationResult { get; }

TenantDomainOwnershipProofEvaluationResult?

Gets the nested HTTP proof collection result when one ran.

public TenantDomainOwnershipHttpProofCollectionResult? HttpProofCollectionResult { get; }

TenantDomainOwnershipHttpProofCollectionResult?

Gets optional result metadata.

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

IReadOnlyDictionary<string, string>

Gets the stable proof verification runner outcome.

public string Outcome { get; }

string

Gets a value indicating whether the run collected proof content.

public bool ProofCollected { get; }

bool

Gets a value indicating whether the run evaluated observed proof.

public bool ProofEvaluated { get; }

bool

Gets the nested publication plan result when one ran.

public TenantDomainOwnershipProofPublicationPlanResult? PublicationPlanResult { get; }

TenantDomainOwnershipProofPublicationPlanResult?

Gets a value indicating whether the run generated publication instructions.

public bool PublicationPlanned { get; }

bool

Gets the UTC timestamp when the runner executed.

public DateTimeOffset RanAtUtc { get; }

DateTimeOffset

Gets the operator-facing proof verification reason.

public string Reason { get; }

string

Gets a value indicating whether the run rejected the declaration.

public bool Rejected { get; }

bool

Gets the tenant identifier that was evaluated.

public string TenantId { get; }

string

Gets the verification method used by the runner.

public string? VerificationMethod { get; }

string?

Gets a value indicating whether the run verified the declaration.

public bool Verified { get; }

bool