iya-sts
    Preparing search index...

    Variable enforce

    enforce: (answer: any, asked?: string) => Enforcement = ...

    Type Declaration

      • (answer: any, asked?: string): Enforcement
      • Applies a PEP bias and the obligation rule to a decision (section 7.2).

        bias chooses deny-biased (the default, and every embedded PEP's) or permit-biased — an ARGUMENT since #596, when xacml.pepBias went with the demonstration PEP it governed; the remote PEP's is PEP_BIAS. An obligation this PEP cannot discharge turns an allowed access into a refusal; only urn:sts:xacml:obligation:log is dischargeable.

        Parameters

        • answer: any

          the PDP's response

        • Optionalasked: string

          permit-biased, or anything else for deny-biased

        Returns Enforcement

        whether access is allowed, the bias, why, and the obligations discharged and not dischargeable