2026-02-20 17:35:38 +01:00
|
|
|
using IdentityShroud.Core.Model;
|
|
|
|
|
|
|
|
|
|
namespace IdentityShroud.Core.Contracts;
|
|
|
|
|
|
|
|
|
|
public interface IClientService
|
|
|
|
|
{
|
|
|
|
|
Task<Result<Client>> Create(
|
|
|
|
|
Guid realmId,
|
|
|
|
|
ClientCreateRequest request,
|
|
|
|
|
CancellationToken ct = default);
|
|
|
|
|
|
2026-02-22 09:27:48 +01:00
|
|
|
Task<Client?> GetByClientId(Guid realmId, string clientId, CancellationToken ct = default);
|
|
|
|
|
Task<Client?> FindById(Guid realmId, int id, CancellationToken ct = default);
|
2026-02-20 17:35:38 +01:00
|
|
|
}
|