Guide
안내
@capgo/capacitor-firebase-인증
파이어베이스 인증을 위한 @Capacitor/__CAPGO_KEEP_1__-firebase-authentication
Install
bun add @capgo/capacitor-firebase-authentication
bunx cap sync
이 플러그인은 노출합니다.
applyActionCode- 사용자에게 이메일로 전송된 인증 code을 적용합니다.confirmPasswordReset- 비밀번호 초기화 프로세스를 완료합니다.confirmVerificationCode- 휴대폰 번호 인증 프로세스를 완료합니다.createUserWithEmailAndPassword- 이메일과 비밀번호를 사용하여 새로운 사용자 계정을 생성합니다. 새로운 계정이 생성된 경우 사용자는 자동으로 로그인됩니다.
예시 사용법
applyActionCode
- 사용자에게 이메일로 전송된 인증 code을 적용합니다.
import { FirebaseAuthentication } from '@capgo/capacitor-firebase-authentication';
await FirebaseAuthentication.applyActionCode({} as ApplyActionCodeOptions);
confirmPasswordReset
- 비밀번호 초기화 프로세스를 완료합니다.
import { FirebaseAuthentication } from '@capgo/capacitor-firebase-authentication';
await FirebaseAuthentication.confirmPasswordReset({} as ConfirmPasswordResetOptions);
confirmVerificationCode
- 휴대폰 번호 인증 프로세스를 완료합니다.
import { FirebaseAuthentication } from '@capgo/capacitor-firebase-authentication';
await FirebaseAuthentication.confirmVerificationCode({} as ConfirmVerificationCodeOptions);
createUserWithEmailAndPassword
- 이메일과 비밀번호를 사용하여 새로운 사용자 계정을 생성합니다. 새로운 계정이 생성된 경우 사용자는 자동으로 로그인됩니다.
import { FirebaseAuthentication } from '@capgo/capacitor-firebase-authentication';
await FirebaseAuthentication.createUserWithEmailAndPassword({} as CreateUserWithEmailAndPasswordOptions);
전체 참조
- GitHub: https://github.com/Cap-go/capacitor-firebase/tree/main/packages/%EC%9E%90%EB%A3%8C%ED%98%91%EC%8B%9D
- Docs: /docs/plugins/firebase-authentication/
Using @capgo/capacitor-firebase-authentication
__CAPGO_KEEP_2__ __CAPGO_KEEP_3__ @capgo/capacitor-firebase-인증 __CAPGO_KEEP_2__ __CAPGO_KEEP_3__ @capgo/capacitor-social-login for the implementation detail in @capgo/capacitor-social-login, @capgo/capacitor-passkey for the implementation detail in @capgo/capacitor-passkey, capgo/capacitor-native-생체인증 for the implementation detail in @capgo/capacitor-native-biometric, 두 단계 인증 두 단계 인증의 구현 세부 정보에 대한 SSO (기업) SSO (기업)의 구현 세부 정보에 대한