monitor_auth_flows
Monitor authentication processes in real-time to detect issues and ensure secure user access. Specify duration to track authentication flows continuously.
Instructions
Real-time monitoring of authentication processes
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| duration | Yes | Monitoring duration (e.g. '1h', '30m') |
Implementation Reference
- src/index.ts:296-306 (handler)The switch case that handles execution of the 'monitor_auth_flows' tool. It extracts the 'duration' argument, logs the monitoring start, and returns a placeholder completion message.case "monitor_auth_flows": { const { duration } = request.params.arguments as { duration: string }; logger.info(`Starting auth flow monitoring for duration: ${duration}`); // Implementation would monitor auth processes return { content: [{ type: "text", text: `Auth flow monitoring complete for duration: ${duration}` }] }; }
- src/index.ts:186-194 (schema)Input schema for the 'monitor_auth_flows' tool, defining a required 'duration' string parameter.inputSchema: { type: "object", properties: { duration: { type: "string", description: "Monitoring duration (e.g. '1h', '30m')" } }, required: ["duration"]
- src/index.ts:183-196 (registration)Registration of the 'monitor_auth_flows' tool in the ListTools response, including name, description, and input schema.{ name: "monitor_auth_flows", description: "Real-time monitoring of authentication processes", inputSchema: { type: "object", properties: { duration: { type: "string", description: "Monitoring duration (e.g. '1h', '30m')" } }, required: ["duration"] } }