14 lines
424 B
C#
14 lines
424 B
C#
|
|
using IdentityShroud.Core.Model;
|
||
|
|
|
||
|
|
namespace IdentityShroud.Core.Contracts;
|
||
|
|
|
||
|
|
public interface IClientService
|
||
|
|
{
|
||
|
|
Task<Result<Client>> Create(
|
||
|
|
Guid realmId,
|
||
|
|
ClientCreateRequest request,
|
||
|
|
CancellationToken ct = default);
|
||
|
|
|
||
|
|
Task<Client?> GetByClientId(Guid realmId, string clientId, CancellationToken ct = default);
|
||
|
|
Task<Client?> FindById(Guid realmId, int id, CancellationToken ct = default);
|
||
|
|
}
|