CSRF-X Auth Library - v1.0.3
    Preparing search index...

    Interface Cookie

    Represents a single HTTP cookie with common attributes.

    Used to store cookies persistently in the session cache. This interface
    captures the essential fields required to reconstruct a cookie for subsequent
    requests. Attributes like httpOnly and secure are stored for completeness
    but are not actively enforced by the cache manager.

    0.1.1

    interface Cookie {
        name: string;
        value: string;
        domain: string;
        path: string;
        httpOnly: boolean;
        secure: boolean;
    }
    Index

    Properties

    name: string

    Cookie name (e.g., "sessionId").

    value: string

    Cookie value (e.g., "abc123def456").

    domain: string

    Domain that the cookie belongs to (e.g., "example.com").

    path: string

    URL path scope (e.g., "/" or "/api").

    httpOnly: boolean

    Whether the cookie is HttpOnly (inaccessible to client‑side JavaScript).

    This flag is informational; the cache does not enforce it.

    secure: boolean

    Whether the cookie is only sent over HTTPS.

    This flag is informational; the cache does not enforce it.