SPMS_API/SPMS.Application/DTOs/Service/CredentialsResponseDto.cs
seonkyu.kim 94e0b92780 feat: APNs/FCM 키 등록 및 조회 API 구현 (#48)
- APNs 키 등록 API (POST /v1/in/service/{serviceCode}/apns)
- FCM 키 등록 API (POST /v1/in/service/{serviceCode}/fcm)
- 키 정보 조회 API (POST /v1/in/service/{serviceCode}/credentials)
- AES-256 암호화로 민감 정보 저장
- 조회 시 메타 정보만 반환 (Private Key 미노출)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-02-10 00:28:47 +09:00

22 lines
567 B
C#

namespace SPMS.Application.DTOs.Service;
public class CredentialsResponseDto
{
public ApnsCredentialsInfoDto? Apns { get; set; }
public FcmCredentialsInfoDto? Fcm { get; set; }
}
public class ApnsCredentialsInfoDto
{
public string BundleId { get; set; } = string.Empty;
public string KeyId { get; set; } = string.Empty;
public string TeamId { get; set; } = string.Empty;
public bool HasPrivateKey { get; set; }
}
public class FcmCredentialsInfoDto
{
public string? ProjectId { get; set; }
public bool HasCredentials { get; set; }
}