메인 콘텐츠로 건너뛰기
플러그인으로 돌아가기
@capgo/capacitor-firebase-authentication
튜토리얼
@capgo/capacitor-firebase-authentication

파이어베이스 인증

Capacitor 플러그인 - 파이어베이스 인증

안내

파이어베이스 인증에 대한 튜토리얼

capgo/capacitor-파이어베이스-인증

Capacitor 파이어베이스 인증 플러그인

설치

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);

__CAPGO_KEEP_0__:

Keep going from Using @capgo/capacitor-firebase-authentication

If you are using Using @capgo/capacitor-firebase-authentication to plan authentication and account flows, connect it with @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-biometric for the implementation detail in @capgo/capacitor-native-biometric, Two-factor authentication for the implementation detail in Two-factor authentication, and SSO (Enterprise) SSO (기업) 구현 세부 사항에 대해.