Teleforge API Reference - v0.1.0
    Preparing search index...

    Interface BffConfigOptions<TAppUser>

    interface BffConfigOptions<TAppUser extends AppUser = AppUser> {
        adapters?: { cache?: BffCacheStore; session?: SessionAdapter };
        botToken: string;
        events?: SessionSecurityEventSink | null;
        features?: Partial<BffFeatureFlags>;
        identity: BffIdentityConfig<TAppUser>;
        jwt?: {
            accessTokenExpiry?: number;
            refreshTokenExpiry?: number;
            secret: string;
        };
        services?: ServiceMap;
        validation?: {
            allowedLaunchModes?: readonly LaunchMode[];
            strictInitData?: boolean;
        };
    }

    Type Parameters

    Index

    Properties

    adapters?: { cache?: BffCacheStore; session?: SessionAdapter }
    botToken: string
    events?: SessionSecurityEventSink | null
    features?: Partial<BffFeatureFlags>
    jwt?: {
        accessTokenExpiry?: number;
        refreshTokenExpiry?: number;
        secret: string;
    }
    services?: ServiceMap
    validation?: {
        allowedLaunchModes?: readonly LaunchMode[];
        strictInitData?: boolean;
    }