Class TenantMembershipEvaluationRequest
เนื้อหานี้ยังไม่ได้แปลเป็นภาษาไทย แสดงเป็นภาษาอังกฤษแทน
Namespace: Cephalon.MultiTenancy.Governance.Services
Assembly: Cephalon.MultiTenancy.Governance.dll
Describes one request to evaluate tenant membership.
public sealed class TenantMembershipEvaluationRequestInheritance
Section titled “Inheritance”object ← TenantMembershipEvaluationRequest
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”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)Parameters
Section titled “Parameters”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.
Properties
Section titled “Properties”Gets the UTC timestamp used for time-window evaluation.
public DateTimeOffset? AtUtc { get; }Property Value
Section titled “Property Value”CorrelationId
Section titled “ CorrelationId”Gets the optional correlation identifier for the evaluation.
public string? CorrelationId { get; }Property Value
Section titled “Property Value”Metadata
Section titled “ Metadata”Gets optional request metadata.
public IReadOnlyDictionary<string, string> Metadata { get; }Property Value
Section titled “Property Value”IReadOnlyDictionary<string, string>
PrincipalId
Section titled “ PrincipalId”Gets the principal identifier to evaluate.
public string PrincipalId { get; }Property Value
Section titled “Property Value”PrincipalKind
Section titled “ PrincipalKind”Gets the principal kind to evaluate.
public string PrincipalKind { get; }Property Value
Section titled “Property Value”RequiredRoles
Section titled “ RequiredRoles”Gets the tenant-local roles required for access.
public IReadOnlyList<string> RequiredRoles { get; }Property Value
Section titled “Property Value”TenantId
Section titled “ TenantId”Gets the tenant identifier to evaluate.
public string TenantId { get; }