using System.Collections.Generic; namespace Sozsoft.Mcp.Dtos; /// Dinamik istemci kaydi (RFC 7591) istegi. public class McpClientRegistrationRequestDto { public string? ClientName { get; set; } public List RedirectUris { get; set; } = []; } /// /// Dinamik istemci kaydinin sonucu. Kayit basarisizsa RFC 7591 hata kodunu /// tasir ve diger alanlar bos kalir. /// public class McpClientRegistrationResultDto { public string? ClientId { get; set; } public string? ClientName { get; set; } public List RedirectUris { get; set; } = []; public List GrantTypes { get; set; } = []; public List ResponseTypes { get; set; } = []; /// Genel istemci: token ucunda gizli anahtar kullanilmaz, PKCE zorunludur. public string TokenEndpointAuthMethod { get; set; } = "none"; public string? Scope { get; set; } public long ClientIdIssuedAt { get; set; } public string? Error { get; set; } public string? ErrorDescription { get; set; } }