Interface MiroOptions

Hierarchy

  • MiroOptions

Properties

clientId?: string

App Client id. Defaults to MIRO_CLIENT_ID environment variable

clientSecret?: string

App Client secret. Defaults to MIRO_CLIENT_SECRET environment variable

httpTimeout?: number

Client will abort HTTP requests that last longer than this number of miliseconds. Default is 5000ms.

logger?: ((l: any) => void)

Type declaration

    • (l: any): void
    • Function to use as a logger. if MIRO_DEBUG environment variable is set then console.log will be used here

      Parameters

      • l: any

      Returns void

redirectUrl?: string

App redirect URL, should match the one configued in the Miro App settings page. Defaults to MIRO_REDIRECT_URL environment variable

storage?: Storage

Implementation of storage to use for access and refresh tokens