Add biometric authentication registration functionality

- Implement biometric registration methods in appBridge
- Add openBiometricRegistrationPopup and closeBiometricRegistrationPopup functions
- Integrate biometric registration UI in home page and auth register component
- Fix TypeScript errors in useAppBridge hook

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
Jay Sheen
2025-09-15 14:09:28 +09:00
parent 9b8378ccad
commit e00dc65d7b
5 changed files with 67 additions and 8 deletions

View File

@@ -163,10 +163,26 @@ class AppBridge {
return this.sendMessage(BridgeMessageType.LOGIN, credentials);
}
// 로그아웃 요청
async logout(): Promise<void> {
return this.sendMessage(BridgeMessageType.LOGOUT);
}
// 간편 인증 등록 요청
async registerBiometric(): Promise<void> {
return this.sendMessage(BridgeMessageType.REGISTER_BIOMETRIC);
}
// 간편 인증 등록 팝업 열기
async openBiometricRegistrationPopup(): Promise<boolean> {
return this.sendMessage(BridgeMessageType.OPEN_BIOMETRIC_REGISTRATION_POPUP);
}
// 간편 인증 등록 팝업 닫기
async closeBiometricRegistrationPopup(): Promise<void> {
return this.sendMessage(BridgeMessageType.CLOSE_BIOMETRIC_REGISTRATION_POPUP);
}
// 언어 설정
async setLanguage(language: string): Promise<void> {
return this.sendMessage(BridgeMessageType.SET_LANGUAGE, { language });