TinyMCE MultiCloud Plugin - v0.1.1
    Preparing search index...

    Interface BayernCloudNextcloudProviderConfig

    Configuration for the BayernCloud / Nextcloud provider. Supports interactive picker mode (via pickerUrl) or pre-configured WebDAV mode. Requires at minimum baseUrl, username, and either password or bearerToken.

    Salvatore Callari Callari@WaXCode.net

    interface BayernCloudNextcloudProviderConfig {
        apiKey?: string;
        baseUrl: string;
        bearerToken?: string;
        clientId?: string;
        createPublicShare?: boolean;
        enabled?: boolean;
        headers?: Record<string, string>;
        mode?: "nextcloud-webdav";
        password?: string;
        pickerUrl?: string;
        popupFeatures?: string;
        scopes?: string[];
        shareExpireDate?: string;
        sharePassword?: string;
        sharingApiPath?: string;
        timeoutMs?: number;
        token?: string;
        username?: string;
        webdavPath?: string;
    }

    Hierarchy (View Summary)

    Index

    Properties

    apiKey?: string

    API key, used by Google Drive in addition to clientId.

    baseUrl: string

    Base URL of the Nextcloud / BayernCloud instance (e.g. "https://cloud.example.com").

    bearerToken?: string

    Nextcloud app password or OAuth bearer token, used as Authorization: Bearer instead of Basic Auth.

    clientId?: string

    OAuth client ID, used by providers that implement their own SDK auth flow.

    createPublicShare?: boolean

    When true, a public share link is created via the OCS Sharing API after the user selects a file.

    enabled?: boolean

    Set to false to completely disable this provider. Disabled providers are excluded from the picker dialog. Defaults to true.

    headers?: Record<string, string>

    Extra HTTP headers forwarded to provider API calls (e.g. for WebDAV requests).

    mode?: "nextcloud-webdav"

    Provider access mode. Currently only "nextcloud-webdav" is supported for SDK mode. Defaults to "nextcloud-webdav" when omitted.

    password?: string

    Nextcloud password. Use bearerToken instead when possible to avoid embedding raw credentials.

    pickerUrl?: string

    URL of a custom picker page that communicates back via postMessage using the PickerMessage contract. When set, the built-in SDK flow is bypassed entirely and this URL is opened in a popup window.

    popupFeatures?: string

    Window features string passed to window.open for the picker popup (e.g. "width=1120,height=760").

    scopes?: string[]

    OAuth scopes to request. Falls back to a provider-specific default when omitted.

    shareExpireDate?: string

    Expiry date for the generated public share link in YYYY-MM-DD format.

    sharePassword?: string

    Optional password applied to the generated public share link.

    sharingApiPath?: string

    OCS Sharing API path. Defaults to "/ocs/v2.php/apps/files_sharing/api/v1/shares".

    timeoutMs?: number

    Per-provider picker timeout in milliseconds. Overrides MultiCloudPluginOptions.popupTimeoutMs.

    token?: string

    Pre-obtained access token. When supplied, the provider may skip the interactive auth step.

    username?: string

    Nextcloud username for WebDAV authentication.

    webdavPath?: string

    WebDAV sub-path to browse, relative to the user's root (e.g. "Documents/Media"). Defaults to the user's root.