> 검증 규칙 */ public function rules(): array { $rules = [ 'purpose' => ['required', 'string', 'max:64'], 'target' => ['nullable', 'array'], 'target.email' => ['nullable', 'email', 'max:255'], 'target.phone' => ['nullable', 'string', 'max:32'], 'provider_id' => ['nullable', 'string', 'max:64'], ]; // 모듈/플러그인이 IDV challenge 요청 검증 규칙을 동적으로 확장 가능 (예: 도메인 특화 메타데이터) return HookManager::applyFilters('core.identity.request_validation_rules', $rules, $this); } }