Cedarling JavaScript/TypeScript API
    Preparing search index...

    Class Diagnostics

    Diagnostics

    Provides detailed information about how a policy decision was made, including policies that contributed to the decision and any errors encountered during evaluation.

    Index

    Errors that occurred during authorization. The errors should be treated as unordered, since policies may be evaluated in any order.

    reason: string[]

    PolicyIds of the policies that contributed to the decision. If no policies applied to the request, this set will be empty.

    The ids should be treated as unordered,

    • Returns void

    • Returns void