- 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>
22 lines
567 B
C#
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; }
|
|
}
|