Interface SignedURLOptions

Options for generating a signed URL.

interface SignedURLOptions {
    filename?: string;
    secToExp?: number;
}

Properties

Properties

filename?: string

The suggested name for the file once it's downloaded/saved. Note: the string is cleaned to ensure maximum compatibility with every OS.

secToExp?: number

Seconds to URL expiration; default: 180 for GET, 300 for PUT.