- Add Node.js MCP server (stdio + HTTP/SSE) with generate_qr and generate_pix_qr tools - Add landing pages PT/EN at /mcp and /mcp/en with hreflang SEO - Fix OAuth returnUrl via RedirectUri query param (state was always null in callback) - Fix API key requests bypassing web credit check (use rate limiter instead) - Add /api/mcp nginx route + Docker Swarm service for n8n cloud integration - Auto-create API key on first OAuth login with TempData display - Add UseDefaultFiles() for /mcp → /mcp/index.html serving - Fix Serilog console log level in Development (was Error, now Info for app logs) - Add /api/v1/QRManager/me endpoint for API key validation - Update CI/CD to build and deploy qrrapido-mcp image alongside .NET app Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
12 lines
468 B
C#
12 lines
468 B
C#
namespace QRRapidoApp.Models.DTOs
|
|
{
|
|
public class UserRequesterContext
|
|
{
|
|
public string? UserId { get; set; }
|
|
public string? IpAddress { get; set; }
|
|
public string? DeviceId { get; set; }
|
|
public bool IsAuthenticated => !string.IsNullOrEmpty(UserId);
|
|
/// <summary>True when request authenticated via X-API-Key (has own rate limiting — skip credit check).</summary>
|
|
public bool IsApiKeyRequest { get; set; }
|
|
}
|
|
} |