namespace JiDangJia.Server; public sealed record IdentityVerificationPhoto(string Purpose,string MimeType,byte[] Bytes); public sealed record IdentityVerificationSubject(string Kind,string Name,string IdNumber,string CompanyName,string Phone,IReadOnlyList Photos); // Independent identity-vendor extension point; it has no ledger or social moderation dependencies. // Provider results support the review. This version always requires an administrator decision. public interface IIdentityVerificationProvider { Task Check(IdentityVerificationSubject subject,CancellationToken cancellationToken); } public sealed class ManualIdentityVerificationProvider : IIdentityVerificationProvider { public Task Check(IdentityVerificationSubject subject,CancellationToken cancellationToken) =>Task.FromResult(new JiDangJia.Contracts.IdentityVerificationAssessment("MANUAL_REVIEW","MANUAL","","当前使用人工审核,未调用自动实名认证或人脸核验服务。")); }