2026-02-27 17:57:42 +00:00
|
|
|
using IdentityShroud.Core.Model;
|
|
|
|
|
using Riok.Mapperly.Abstractions;
|
|
|
|
|
|
|
|
|
|
namespace IdentityShroud.Api.Mappers;
|
|
|
|
|
|
|
|
|
|
[Mapper]
|
|
|
|
|
public partial class ClientMapper
|
|
|
|
|
{
|
2026-08-18 07:40:24 +02:00
|
|
|
// skipping secret as we do not have the DEK
|
2026-02-27 17:57:42 +00:00
|
|
|
[MapperIgnoreSource(nameof(Client.Secrets))]
|
2026-08-18 07:40:24 +02:00
|
|
|
[MapperIgnoreTarget(nameof(ClientRepresentation.Secret))]
|
2026-02-27 17:57:42 +00:00
|
|
|
public partial ClientRepresentation ToDto(Client client);
|
2026-08-18 07:40:24 +02:00
|
|
|
|
2026-02-27 17:57:42 +00:00
|
|
|
}
|