ガイド
Firebase Authenticationのチュートリアル
@capgo/capacitor-firebase-authenticationを使用
CapacitorのFirebase Authentication プラグイン
インストール
bun add @capgo/capacitor-firebase-authentication
bunx cap sync
このプラグインが公開するもの
applyActionCode- メールで送信された検証codeを適用します。confirmPasswordReset- パスワードリセットプロセスを完了します。confirmVerificationCode-createUserWithEmailAndPassword電話番号の確認プロセスを完了します。
-
applyActionCode
Applies a verification code sent to the user by email.
import { FirebaseAuthentication } from '@capgo/capacitor-firebase-authentication';
await FirebaseAuthentication.applyActionCode({} as ApplyActionCodeOptions);
confirmPasswordReset
Example Usage
import { FirebaseAuthentication } from '@capgo/capacitor-firebase-authentication';
await FirebaseAuthentication.confirmPasswordReset({} as ConfirmPasswordResetOptions);
confirmVerificationCode
メールで送信された確認__CAPGO_KEEP_0__に適用します。
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/authentication
- __CAPGO_KEEP_0__:
https://capgo.com/Cap-go/capacitor-firebase/tree/main/packages/authentication
If you are using @capgo/capacitor-firebase-authentication を使用して認証とアカウントフローを計画し、 @capgo/capacitor-social-login を使用して@capgo/capacitor-social-loginの実装詳細を参照 @capgo/capacitor-passkey を使用して@capgo/capacitor-passkeyの実装詳細を参照 @capgo/capacitor-native-biometric を使用して@capgo/capacitor-native-biometricの実装詳細を参照 2要素認証 を使用して2要素認証の実装詳細を参照 SSO (Enterprise) __CAPGO_KEEP_0__の実装詳細については、SSO(Enterprise)でご確認ください。