Cerbos JavaScript SDK
    Preparing search index...

    Interface CheckInput

    Input to a CheckResources decision.

    interface CheckInput {
        actions: string[];
        auxData: DecodedAuxData | undefined;
        principal: Required<Omit<Principal, "attributes">>;
        requestId: string;
        resource: Required<Omit<Resource, "attributes">>;
    }
    Index

    Properties

    actions: string[]

    The actions that were checked.

    auxData: DecodedAuxData | undefined

    Auxiliary data that was used in the check.

    principal: Required<Omit<Principal, "attributes">>

    The principal that was checked.

    requestId: string

    An identifier for tracing the request.

    resource: Required<Omit<Resource, "attributes">>

    The resource that was checked.