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.
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.