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:
@@ -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 });
|
||||
|
||||
Reference in New Issue
Block a user