Skip to content

@capgo/capacitor-firebase-authentication

Capacitor用Firebase認証プラグイン

Capacitor用Firebase認証プラグイン

  • applyActionCode - Applies a verification code sent to the user by email.
  • confirmPasswordReset - Completes the password reset process.
  • confirmVerificationCode - Finishes the phone number verification process.
  • createUserWithEmailAndPassword - Creates a new user account with email and password. If the new account was created, the user is signed in automatically.
MethodDescription
applyActionCodeApplies a verification code sent to the user by email.
confirmPasswordResetCompletes the password reset process.
confirmVerificationCodeFinishes the phone number verification process.
createUserWithEmailAndPassword新しいユーザーアカウントを作成します。メールアドレスとパスワードを使用して新しいアカウントを作成すると、自動的にユーザーがログインされます。
deleteUserユーザーを削除し、ログアウトします。
fetchSignInMethodsForEmailメールアドレスに対してサインイン方法を取得します。
getCurrentUser現在ログインしているユーザーを取得します。
getPendingAuthResultif your app launched a web sign-in flow and the OS cleans up the app while in the background. SignInResult 現在ログインしているユーザーのFirebase Auth IDトークンを取得します。
getIdToken現在ログインしているユーザーを識別するために使用されるデシリアライズされたJSON Web Token (JWT)を取得します。
getIdTokenResultredirect-based sign-in flowからトークンを取得します。
getRedirectResultテナントIDを取得します。 SignInResult 入力されたリンクがメールアドレスでサインインするための適切なリンクであるかどうかを確認します。
getTenantIdFetches the sign-in methods for an email address.
isSignInWithEmailLinkChecks if an incoming link is a sign-in with email link suitable for signInWithEmailLink.
linkWithAppleApple認証プロバイダとユーザーアカウントをリンクします。
linkWithEmailAndPasswordEmail認証プロバイダとユーザーアカウントをリンクします。
linkWithEmailLinkEmail認証プロバイダとユーザーアカウントをリンクします。
linkWithFacebookFacebook認証プロバイダとユーザーアカウントをリンクします。
linkWithGameCenterGame Center認証プロバイダとユーザーアカウントをリンクします。
linkWithGithubGitHub認証プロバイダとユーザーアカウントをリンクします。
linkWithGoogleGoogle認証プロバイダとユーザーアカウントをリンクします。
linkWithMicrosoftMicrosoft認証プロバイダとユーザーアカウントをリンクします。
linkWithOpenIdConnectOpenID Connect認証プロバイダとユーザーアカウントをリンクします。
linkWithPhoneNumber電話番号認証プロバイダとユーザーアカウントをリンクします。
linkWithPlayGamesPlay Games認証プロバイダとユーザーアカウントをリンクします。
linkWithTwitterTwitter認証プロバイダとユーザーアカウントをリンクします。
linkWithYahoo__CAPGO_KEEP_0__をYahoo認証プロバイダーとリンクします。
reloadユーザーアカウントデータを再読み込みします。
revokeAccessTokenアクセストークンを取り消します。現在、Apple OAuthアクセストークンのみをサポートしています。
sendEmailVerification現在のユーザーに確認メールを送信します。
sendPasswordResetEmailパスワードリセットメールを送信します。
sendSignInLinkToEmail指定されたメールアドレスのユーザーにサインインリンクを送信します。
setLanguageCode認証操作用のユーザー向け言語をcodeに設定します。
setPersistence現在の保存済み認証セッションの保存方法を設定します。
setTenantIdテナントIDを設定します。
signInAnonymously匿名ユーザーとしてサインインします。
signInWithAppleAppleサインインフローを開始します。
signInWithCustomTokenカスタムトークンサインインフローを開始します。
signInWithEmailAndPasswordStarts the sign-in flow using an email and password.
signInWithEmailLinkSigns in using an email and sign-in email link.
signInWithFacebookStarts the Facebook sign-in flow.
signInWithGameCenterStarts the Game Center sign-in flow.
signInWithGithubStarts the GitHub sign-in flow.
signInWithGoogleStarts the Google sign-in flow.
signInWithMicrosoftStarts the Microsoft sign-in flow.
signInWithOpenIdConnectStarts the OpenID Connect sign-in flow.
signInWithPhoneNumberStarts the sign-in flow using a phone number.
signInWithPlayGamesStarts the Play Games sign-in flow.
signInWithTwitterStarts the Twitter sign-in flow.
signInWithYahooStarts the Yahoo sign-in flow.
signOutStarts the sign-out flow.
unlinkユーザーアカウントからプロバイダをアンリンクします。
updateEmail現在ログイン中のユーザーのメールアドレスを更新します。
updatePassword現在ログイン中のユーザーのパスワードを更新します。
updateProfileユーザーのプロファイルデータを更新します。
useAppLanguageユーザーに表示される言語codeをデフォルトのアプリ言語に設定します。
useEmulatorAuthentication エミュレータとアプリを連携するためのインストルメンテーションを実行します。
verifyBeforeUpdateEmail現在ログイン中のユーザーの新しいメールアドレスを検証する前にメールアドレスを更新します。
checkAppTrackingTransparencyPermissionアプリのトラッキング透明性の現在のステータスを確認します。
requestAppTrackingTransparencyPermissionアプリのトラッキング透明性の許可を求めるシステムダイアログを開きます。
addListenerユーザーのサインイン状態の変更をリスンします。
addListener現在ログイン中のユーザーのIDトークンの変更をリスンします。
addListener電話番号の検証が完了したときに通知を受ける
addListener電話番号の検証が失敗したときに通知を受ける
addListener電話番号の検証がcodeのときに通知を受ける
removeAllListenersこのプラグインのすべてのリスナーを削除する
getPluginVersionこのプラグインのバージョンを取得する

真実の源

「真実の源」

この参照は src/definitions.ts から capacitor-firebase.

@capgo/capacitor-firebase-authenticationから続ける

「@capgo/capacitor-firebase-authenticationから続ける」

あなたが @capgo/capacitor-firebase-authentication を使用している場合、認証とアカウントフローの計画に使用し、@__CAPGO_KEEP_0__/__CAPGO_KEEP_1__-social-login に接続してください。@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)のドキュメントを参照してください。