using IdentityShroud.Core.Model; namespace IdentityShroud.Core.Contracts; //public record CreateClientRequest(Guid RealmId, string ClientId, string? Description); public class ClientCreateRequest { public string ClientId { get; set; } public string? Name { get; set; } public string? Description { get; set; } public string? SignatureAlgorithm { get; set; } public bool? AllowClientCredentialsFlow { get; set; } } public interface IClientService { Task> Create( Guid realmId, ClientCreateRequest request, CancellationToken ct = default); Task GetByClientId(string clientId, CancellationToken ct = default); }