videosphere
    Preparing search index...

    Interface ConnectedAccountDocument

    Raw MongoDB document shape for the connected_accounts collection.

    accessToken and refreshToken store encrypted ciphertext strings. For SFTP, accessToken holds the encrypted private key or password and refreshToken holds the encrypted key passphrase (empty when none).

    interface ConnectedAccountDocument {
        _id: string;
        userId: string;
        platform: ConnectedAccountPlatform;
        accessToken: string;
        refreshToken: string;
        tokenExpiry: string;
        platformUserId: string;
        platformName: string;
        sftpHost?: string;
        sftpPort?: number;
        sftpRemotePath?: string;
        sftpAuthMethod?: SftpAuthMethod;
        sftpHostKeyFingerprint?: string;
        smbHost?: string;
        smbShare?: string;
        smbDomain?: string;
        smbRemotePath?: string;
        googleDriveBackupFolderPath?: string;
        facebookTargetType?: "page" | "profile";
        facebookPageId?: string;
        youtubeMainStreamKey?: string;
        youtubeTempStreamKey?: string;
        createdAt: Date;
        updatedAt: Date;
    }
    Index

    Properties

    _id: string
    userId: string
    accessToken: string
    refreshToken: string
    tokenExpiry: string
    platformUserId: string
    platformName: string
    sftpHost?: string
    sftpPort?: number
    sftpRemotePath?: string
    sftpAuthMethod?: SftpAuthMethod
    sftpHostKeyFingerprint?: string
    smbHost?: string
    smbShare?: string
    smbDomain?: string
    smbRemotePath?: string
    googleDriveBackupFolderPath?: string
    facebookTargetType?: "page" | "profile"
    facebookPageId?: string
    youtubeMainStreamKey?: string

    AES-256-GCM ciphertext for the YouTube main stream key (encryptToken).

    youtubeTempStreamKey?: string

    AES-256-GCM ciphertext for the YouTube temp stream key (encryptToken).

    createdAt: Date
    updatedAt: Date