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

Class TenantMembershipEvaluationRequest

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

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

Describes one request to evaluate tenant membership.

public sealed class TenantMembershipEvaluationRequest

objectTenantMembershipEvaluationRequest

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

TenantMembershipEvaluationRequest(string, string, IReadOnlyList<string>?, DateTimeOffset?, string?, IReadOnlyDictionary<string, string>?, string?)

Section titled “ TenantMembershipEvaluationRequest(string, string, IReadOnlyList<string>?, DateTimeOffset?, string?, IReadOnlyDictionary<string, string>?, string?)”

Creates a tenant-membership evaluation request.

public TenantMembershipEvaluationRequest(string tenantId, string principalId, IReadOnlyList<string>? requiredRoles = null, DateTimeOffset? atUtc = null, string? correlationId = null, IReadOnlyDictionary<string, string>? metadata = null, string? principalKind = null)

tenantId string

The tenant identifier to evaluate.

principalId string

The principal identifier to evaluate.

requiredRoles IReadOnlyList<string>?

The optional tenant-local roles required for access.

atUtc DateTimeOffset?

The UTC timestamp used for time-window evaluation. The runtime clock is used when omitted.

correlationId string?

The optional correlation identifier for the evaluation.

metadata IReadOnlyDictionary<string, string>?

Optional request metadata.

principalKind string?

The principal kind to evaluate. The default is user.

Gets the UTC timestamp used for time-window evaluation.

public DateTimeOffset? AtUtc { get; }

DateTimeOffset?

Gets the optional correlation identifier for the evaluation.

public string? CorrelationId { get; }

string?

Gets optional request metadata.

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

IReadOnlyDictionary<string, string>

Gets the principal identifier to evaluate.

public string PrincipalId { get; }

string

Gets the principal kind to evaluate.

public string PrincipalKind { get; }

string

Gets the tenant-local roles required for access.

public IReadOnlyList<string> RequiredRoles { get; }

IReadOnlyList<string>

Gets the tenant identifier to evaluate.

public string TenantId { get; }

string