Response.cs 517 B

1234567891011121314151617
  1. using Domain.Entities.Developers.ValueObject;
  2. namespace Application.Features.Api.Developers.Apps.GetApp;
  3. public sealed record CredentialInfo(string ClientID, string SecretHint, CredentialStatus Status, DateTime CreatedAt, DateTime? LastUsedAt);
  4. public sealed record Response(
  5. int ID,
  6. string Name,
  7. string? Description,
  8. string? HomepageUrl,
  9. string? LogoPath,
  10. ApplicationStatus Status,
  11. IReadOnlyList<string> Scopes,
  12. IReadOnlyList<CredentialInfo> Credentials,
  13. DateTime CreatedAt
  14. );