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

Class TenantInvitationValidationResult

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

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

Describes the result of one tenant-invitation validation.

public sealed class TenantInvitationValidationResult

objectTenantInvitationValidationResult

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

TenantInvitationValidationResult(string, string, string, bool, DateTimeOffset, IReadOnlyList<string>?, IReadOnlyList<string>?, IReadOnlyList<string>?, TenantInvitationDescriptor?, string?, IReadOnlyDictionary<string, string>?, string?, string?)

Section titled “ TenantInvitationValidationResult(string, string, string, bool, DateTimeOffset, IReadOnlyList<string>?, IReadOnlyList<string>?, IReadOnlyList<string>?, TenantInvitationDescriptor?, string?, IReadOnlyDictionary<string, string>?, string?, string?)”

Creates a tenant-invitation validation result.

public TenantInvitationValidationResult(string tenantId, string invitationId, string outcome, bool valid, DateTimeOffset validatedAtUtc, IReadOnlyList<string>? requiredRoles = null, IReadOnlyList<string>? matchedRoles = null, IReadOnlyList<string>? missingRoles = null, TenantInvitationDescriptor? matchedInvitation = null, string? reason = null, IReadOnlyDictionary<string, string>? metadata = null, string? inviteeId = null, string? inviteeKind = null)

tenantId string

The tenant identifier that was validated.

invitationId string

The invitation identifier that was validated.

outcome string

The stable validation outcome.

valid bool

A value indicating whether validation granted invitation use.

validatedAtUtc DateTimeOffset

The UTC timestamp when validation executed.

requiredRoles IReadOnlyList<string>?

The tenant-local roles required by the request.

matchedRoles IReadOnlyList<string>?

The tenant-local roles found on the invitation.

missingRoles IReadOnlyList<string>?

The required roles that were not found.

matchedInvitation TenantInvitationDescriptor?

The matching invitation considered by validation.

reason string?

The optional operator-facing validation reason.

metadata IReadOnlyDictionary<string, string>?

Optional result metadata.

inviteeId string?

The optional invitee identifier expected by the request.

inviteeKind string?

The invitee kind expected by the request.

Gets the invitation identifier that was validated.

public string InvitationId { get; }

string

Gets the optional invitee identifier expected by the request.

public string? InviteeId { get; }

string?

Gets the invitee kind expected by the request.

public string InviteeKind { get; }

string

Gets the matching invitation considered by validation.

public TenantInvitationDescriptor? MatchedInvitation { get; }

TenantInvitationDescriptor?

Gets the tenant-local roles found on the invitation.

public IReadOnlyList<string> MatchedRoles { get; }

IReadOnlyList<string>

Gets optional result metadata.

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

IReadOnlyDictionary<string, string>

Gets the required roles that were not found.

public IReadOnlyList<string> MissingRoles { get; }

IReadOnlyList<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-local roles required by the request.

public IReadOnlyList<string> RequiredRoles { get; }

IReadOnlyList<string>

Gets the tenant identifier that was validated.

public string TenantId { get; }

string

Gets a value indicating whether validation granted invitation use.

public bool Valid { get; }

bool

Gets the UTC timestamp when validation executed.

public DateTimeOffset ValidatedAtUtc { get; }

DateTimeOffset