MCP TypeScript SDK (V2)
    Preparing search index...
    AssertionCallback: (context: CrossAppAccessContext) => string | Promise<string>

    Callback function type that provides a JWT Authorization Grant (ID-JAG).

    The callback receives context about the target MCP server (authorization server URL, resource URL, scope) and should return a JWT Authorization Grant that will be used to obtain an access token from the MCP server.

    Type Declaration