Class TenantInvitationValidationResult
เนื้อหานี้ยังไม่ได้แปลเป็นภาษาไทย แสดงเป็นภาษาอังกฤษแทน
Namespace: Cephalon.MultiTenancy.Governance.Services
Assembly: Cephalon.MultiTenancy.Governance.dll
Describes the result of one tenant-invitation validation.
public sealed class TenantInvitationValidationResultInheritance
Section titled “Inheritance”object ← TenantInvitationValidationResult
Inherited Members
Section titled “Inherited Members”object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.ReferenceEquals(object?, object?), object.ToString()
Constructors
Section titled “Constructors”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)Parameters
Section titled “Parameters”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.
Properties
Section titled “Properties”InvitationId
Section titled “ InvitationId”Gets the invitation identifier that was validated.
public string InvitationId { get; }Property Value
Section titled “Property Value”InviteeId
Section titled “ InviteeId”Gets the optional invitee identifier expected by the request.
public string? InviteeId { get; }Property Value
Section titled “Property Value”InviteeKind
Section titled “ InviteeKind”Gets the invitee kind expected by the request.
public string InviteeKind { get; }Property Value
Section titled “Property Value”MatchedInvitation
Section titled “ MatchedInvitation”Gets the matching invitation considered by validation.
public TenantInvitationDescriptor? MatchedInvitation { get; }Property Value
Section titled “Property Value”MatchedRoles
Section titled “ MatchedRoles”Gets the tenant-local roles found on the invitation.
public IReadOnlyList<string> MatchedRoles { get; }Property Value
Section titled “Property Value”Metadata
Section titled “ Metadata”Gets optional result metadata.
public IReadOnlyDictionary<string, string> Metadata { get; }Property Value
Section titled “Property Value”IReadOnlyDictionary<string, string>
MissingRoles
Section titled “ MissingRoles”Gets the required roles that were not found.
public IReadOnlyList<string> MissingRoles { get; }Property Value
Section titled “Property Value”Outcome
Section titled “ Outcome”Gets the stable validation outcome.
public string Outcome { get; }Property Value
Section titled “Property Value”Reason
Section titled “ Reason”Gets the optional operator-facing validation reason.
public string? Reason { get; }Property Value
Section titled “Property Value”RequiredRoles
Section titled “ RequiredRoles”Gets the tenant-local roles required by the request.
public IReadOnlyList<string> RequiredRoles { get; }Property Value
Section titled “Property Value”TenantId
Section titled “ TenantId”Gets the tenant identifier that was validated.
public string TenantId { get; }Property Value
Section titled “Property Value”Gets a value indicating whether validation granted invitation use.
public bool Valid { get; }Property Value
Section titled “Property Value”ValidatedAtUtc
Section titled “ ValidatedAtUtc”Gets the UTC timestamp when validation executed.
public DateTimeOffset ValidatedAtUtc { get; }