Member Junction
    Preparing search index...

    A pre-authorized download URL for one stored file. A storage driver whose URLs do not expire (the local file-system driver's file:// URLs) states driverLifetimeSeconds and expiresAt as null; the consumer checks expiry only when expiresAt is set.

    interface PreAuthDownload {
        driverLifetimeSeconds: number | null;
        expiresAt: string | null;
        fileId: string;
        issuedAt: string;
        sha256: string;
        url: string;
    }
    Index

    Properties

    driverLifetimeSeconds: number | null

    The driver's URL lifetime in seconds; null when the driver's URLs do not expire.

    expiresAt: string | null

    ISO instant: issuedAt + the driver's lifetime; null when the driver's URLs do not expire.

    fileId: string
    issuedAt: string

    ISO instant.

    sha256: string

    SHA-256 (lower-case hex) of the file bytes.

    url: string