ข้ามไปยังเนื้อหา

Class TenantDomainOwnershipValidationResult

เนื้อหานี้ยังไม่ได้แปลเป็นภาษาไทย แสดงเป็นภาษาอังกฤษแทน

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

Describes the result of one tenant-domain ownership validation.

public sealed class TenantDomainOwnershipValidationResult

objectTenantDomainOwnershipValidationResult

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

TenantDomainOwnershipValidationResult(string, string, string, bool, DateTimeOffset, TenantDomainOwnershipDescriptor?, string?, IReadOnlyDictionary<string, string>?)

Section titled “ TenantDomainOwnershipValidationResult(string, string, string, bool, DateTimeOffset, TenantDomainOwnershipDescriptor?, string?, IReadOnlyDictionary<string, string>?)”

Creates a tenant-domain ownership validation result.

public TenantDomainOwnershipValidationResult(string tenantId, string domainName, string outcome, bool valid, DateTimeOffset validatedAtUtc, TenantDomainOwnershipDescriptor? matchedDomainOwnership = null, string? reason = null, IReadOnlyDictionary<string, string>? metadata = null)

tenantId string

The tenant identifier that was validated.

domainName string

The canonical domain name that was validated.

outcome string

The stable validation outcome.

valid bool

A value indicating whether validation granted domain ownership use.

validatedAtUtc DateTimeOffset

The UTC timestamp when validation executed.

matchedDomainOwnership TenantDomainOwnershipDescriptor?

The matching domain ownership descriptor considered by validation.

reason string?

The optional operator-facing validation reason.

metadata IReadOnlyDictionary<string, string>?

Optional result metadata.

Gets the canonical domain name that was validated.

public string DomainName { get; }

string

Gets the matching domain ownership descriptor considered by validation.

public TenantDomainOwnershipDescriptor? MatchedDomainOwnership { get; }

TenantDomainOwnershipDescriptor?

Gets optional result metadata.

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

IReadOnlyDictionary<string, string>

Gets the stable validation outcome.

public string Outcome { get; }

string

Gets the optional operator-facing validation reason.

public string? Reason { get; }

string?

Gets the tenant identifier that was validated.

public string TenantId { get; }

string

Gets a value indicating whether validation granted domain ownership use.

public bool Valid { get; }

bool

Gets the UTC timestamp when validation executed.

public DateTimeOffset ValidatedAtUtc { get; }

DateTimeOffset