Table of Contents

Class PolicyAssignmentCache

Namespace
FoundationaLLM.AuthorizationEngine.Services
Assembly
FoundationaLLM.AuthorizationEngine.dll

In-memory cache for policy assignments.

public class PolicyAssignmentCache
Inheritance
PolicyAssignmentCache
Inherited Members
Extension Methods

Constructors

PolicyAssignmentCache(PolicyAssignmentStore)

Creates a new instance of the PolicyAssignmentCache class.

public PolicyAssignmentCache(PolicyAssignmentStore policyAssignmentStore)

Parameters

policyAssignmentStore PolicyAssignmentStore

The policy assignment store containing the policy assignments used to initialize the cache.

Methods

GetPolicyAssignments(string)

public List<PolicyAssignment> GetPolicyAssignments(string scope)

Parameters

scope string

Returns

List<PolicyAssignment>