@basetenlabs/sandbox - v0.3.0
    Preparing search index...

    Type Alias SandboxTokenProvider

    SandboxTokenProvider: (context: SandboxTokenProviderContext) => Promise<string>

    Returns the bearer token to send on a request. Called for every request.

    A provider that caches tokens must drop its cached token when it matches SandboxTokenProviderContext.revokedToken, since the server rejects that token for good.

    Type Declaration