Forest Admin - API reference
    Preparing search index...

    Interface ActivityLogOptions

    interface ActivityLogOptions {
        collectionIdOf?: (collectionName: string) => Promise<string>;
        logger?: ActivityLogLogger;
        onExpiredCredential?: () => void;
        retryCreation?: boolean;
        source: ActivityLogSource;
        workflow?: ActivityLogWorkflow;
    }
    Index
    collectionIdOf?: (collectionName: string) => Promise<string>
    onExpiredCredential?: () => void

    For a consumer whose audit credential is minted and cached for it: a 401 then means that credential expired, not that the caller is refused, so a read runs and the consumer is told to drop what it cached. Without it a 401 refuses the read like a 403.

    retryCreation?: boolean
    workflow?: ActivityLogWorkflow