Skip to content

Class TenantDomainOwnershipProofVerificationRequest

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

Describes a tenant-domain ownership proof verification runner request.

public sealed class TenantDomainOwnershipProofVerificationRequest

objectTenantDomainOwnershipProofVerificationRequest

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

TenantDomainOwnershipProofVerificationRequest(string, string, string?, string?, Uri?, Uri?, string?, string?, DateTimeOffset?, DateTimeOffset?, string?, bool, bool, bool, bool, TimeSpan?, IReadOnlyDictionary<string, string>?)

Section titled “ TenantDomainOwnershipProofVerificationRequest(string, string, string?, string?, Uri?, Uri?, string?, string?, DateTimeOffset?, DateTimeOffset?, string?, bool, bool, bool, bool, TimeSpan?, IReadOnlyDictionary<string, string>?)”

Creates a tenant-domain ownership proof verification runner request.

public TenantDomainOwnershipProofVerificationRequest(string tenantId, string domainName, string? verificationMethod = null, string? observedProof = null, Uri? collectionBaseUri = null, Uri? dnsTxtResolverEndpoint = null, string? source = null, string? actor = null, DateTimeOffset? atUtc = null, DateTimeOffset? expiresAtUtc = null, string? correlationId = null, bool issueChallengeWhenMissingExpectedProof = true, bool collectHttpProof = true, bool collectDnsTxtProof = true, bool recordPublicationPlan = true, TimeSpan? timeout = null, IReadOnlyDictionary<string, string>? metadata = null)

tenantId string

The tenant identifier that owns the domain declaration.

domainName string

The domain name being verified.

verificationMethod string?

The optional verification method boundary. When omitted, the existing declaration method or HTTP file is used.

observedProof string?

Optional observed proof supplied by an application or provider pack.

collectionBaseUri Uri?

The optional base URI used by HTTP file proof collection.

dnsTxtResolverEndpoint Uri?

The optional DNS-over-HTTPS resolver endpoint used by DNS TXT proof collection.

source string?

The source that requested the verification run.

actor string?

The actor that requested the verification run when known.

atUtc DateTimeOffset?

The UTC timestamp used by the run. The runtime clock is used when omitted.

expiresAtUtc DateTimeOffset?

The optional UTC timestamp applied if proof evaluation verifies the declaration.

correlationId string?

The optional correlation identifier for the run.

issueChallengeWhenMissingExpectedProof bool

A value indicating whether the runner should issue a challenge when expected proof metadata is missing.

collectHttpProof bool

A value indicating whether the runner should use the built-in HTTP proof collector for HTTP file declarations.

collectDnsTxtProof bool

A value indicating whether the runner should use the built-in DNS TXT proof collector for DNS TXT declarations.

recordPublicationPlan bool

A value indicating whether publication planning metadata should be recorded.

timeout TimeSpan?

The optional per-request proof collection timeout.

metadata IReadOnlyDictionary<string, string>?

Optional proof verification runner metadata.

Gets the actor that requested the verification run when known.

public string? Actor { get; }

string?

Gets the UTC timestamp used by the run.

public DateTimeOffset? AtUtc { get; }

DateTimeOffset?

Gets a value indicating whether the runner should use the built-in DNS TXT proof collector for DNS TXT declarations.

public bool CollectDnsTxtProof { get; }

bool

Gets a value indicating whether the runner should use the built-in HTTP proof collector for HTTP file declarations.

public bool CollectHttpProof { get; }

bool

Gets the optional base URI used by HTTP file proof collection.

public Uri? CollectionBaseUri { get; }

Uri?

Gets the optional correlation identifier for the run.

public string? CorrelationId { get; }

string?

Gets the optional DNS-over-HTTPS resolver endpoint used by DNS TXT proof collection.

public Uri? DnsTxtResolverEndpoint { get; }

Uri?

Gets the canonical domain name being verified.

public string DomainName { get; }

string

Gets the optional UTC timestamp applied if proof evaluation verifies the declaration.

public DateTimeOffset? ExpiresAtUtc { get; }

DateTimeOffset?

Gets a value indicating whether the runner should issue a challenge when expected proof metadata is missing.

public bool IssueChallengeWhenMissingExpectedProof { get; }

bool

Gets optional proof verification runner metadata.

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

IReadOnlyDictionary<string, string>

Gets optional observed proof supplied by an application or provider pack.

public string? ObservedProof { get; }

string?

Gets a value indicating whether publication planning metadata should be recorded.

public bool RecordPublicationPlan { get; }

bool

Gets the source that requested the verification run.

public string? Source { get; }

string?

Gets the tenant identifier that owns the domain declaration.

public string TenantId { get; }

string

Gets the optional per-request HTTP collection timeout.

public TimeSpan? Timeout { get; }

TimeSpan?

Gets the optional verification method boundary.

public string? VerificationMethod { get; }

string?