IdentityShroud/IdentityShroud.Api/Apis/Mappers/ClientMapper.cs
2026-08-18 07:42:51 +02:00

14 lines
No EOL
376 B
C#

using IdentityShroud.Core.Model;
using Riok.Mapperly.Abstractions;
namespace IdentityShroud.Api.Mappers;
[Mapper]
public partial class ClientMapper
{
// skipping secret as we do not have the DEK
[MapperIgnoreSource(nameof(Client.Secrets))]
[MapperIgnoreTarget(nameof(ClientRepresentation.Secret))]
public partial ClientRepresentation ToDto(Client client);
}