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

파이어베이스 인증

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

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

전체 참조

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 (기업)의 구현 세부 정보에 대한