Cerbos JavaScript SDK
    Preparing search index...

    Interface RequestOptions

    Options for sending a request to the policy decision point.

    interface RequestOptions {
        headers?: HeadersInit;
        signal?: AbortSignal;
    }
    Index

    Properties

    Properties

    headers?: HeadersInit

    Headers to add to the request.

    Headers can be included in the policy decision point's audit logs by setting the includeMetadataKeys or excludeMetadataKeys fields in the audit configuration block.

    The User-Agent header is set using Options.userAgent.

    undefined

    signal?: AbortSignal

    A signal to abort the request.

    undefined