QuickBase JS SDK v2 - v2.2.2
    Preparing search index...

    Interface TempTokenAuthConfig

    QuickBase SDK v2

    A TypeScript/JavaScript client for the QuickBase JSON RESTful API.

    import { createClient } from 'quickbase-js';

    const client = createClient({
    realm: 'mycompany',
    auth: {
    type: 'user-token',
    userToken: 'your-user-token',
    },
    });

    const app = await client.getApp({ appId: 'bpqe82s1' });
    console.log(app.name);
    interface TempTokenAuthConfig {
        appToken?: string;
        tokenLifespanMs?: number;
        type: "temp-token";
        userToken?: string;
    }
    Index

    Properties

    appToken?: string

    App token (optional, for apps that require it)

    tokenLifespanMs?: number

    Token lifespan in milliseconds (default: 290000 = ~4m50s)

    type: "temp-token"
    userToken?: string

    User token used to fetch temporary tokens (optional) Not required when running in QuickBase Code Pages - the browser session is used