makeContext: (
request: any,
options: any,
) => {
applicablePolicies: any[];
countNodes: () => never;
includedAttributes: any[];
now: any;
request: any;
resolver: any;
} = makeContext
Type Declaration
-
- (
request: any,
options: any,
): {
applicablePolicies: any[];
countNodes: () => never;
includedAttributes: any[];
now: any;
request: any;
resolver: any;
}
-
Parameters
- request: any
- options: any
Returns {
applicablePolicies: any[];
countNodes: () => never;
includedAttributes: any[];
now: any;
request: any;
resolver: any;
}
the context
Builds the evaluation context for one decision.
The context carries the request, the optional PIP resolver, a clock fixed for the whole evaluation, and the lists of included attributes and applicable policies collected while evaluating. XPath is not supported: its
countNodes()throws a processing error.