Vai al contenuto

@capgo/capacitor-firebase-authentication

Capacitor plugin for Firebase Authentication.

Capacitor plugin for Firebase Authentication.

  • 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.
createUserWithEmailAndPasswordCreates a new user account with email and password. If the new account was created, the user is signed in automatically.
deleteUserDeletes and signs out the user.
fetchSignInMethodsForEmailFetches the sign-in methods for an email address.
getCurrentUserFetches the currently signed-in user.
getPendingAuthResultReturns the SignInResult if your app launched a web sign-in flow and the OS cleans up the app while in the background.
getIdTokenFetches the Firebase Auth ID Token for the currently signed-in user.
getIdTokenResultReturns a deserialized JSON Web Token (JWT) used to identify the user to a Firebase service.
getRedirectResultReturns the SignInResult from the redirect-based sign-in flow.
getTenantIdGet the tenant id.
isSignInWithEmailLinkChecks if an incoming link is a sign-in with email link suitable for signInWithEmailLink.
linkWithAppleLinks the user account with Apple authentication provider.
linkWithEmailAndPasswordLinks the user account with Email authentication provider.
linkWithEmailLinkLinks the user account with Email authentication provider.
linkWithFacebookLinks the user account with Facebook authentication provider.
linkWithGameCenterLinks the user account with Game Center authentication provider.
linkWithGithubLinks the user account with GitHub authentication provider.
linkWithGoogleLinks the user account with Google authentication provider.
linkWithMicrosoftLinks the user account with Microsoft authentication provider.
linkWithOpenIdConnectLinks the user account with an OpenID Connect provider.
linkWithPhoneNumberLinks the user account with Phone Number authentication provider.
linkWithPlayGamesLinks the user account with Play Games authentication provider.
linkWithTwitterLinks the user account with Twitter authentication provider.
linkWithYahooLinks the user account with Yahoo authentication provider.
reloadReloads user account data, if signed in.
revokeAccessTokenRevokes the given access token. Currently only supports Apple OAuth access tokens.
sendEmailVerificationSends a verification email to the currently signed in user.
sendPasswordResetEmailSends a password reset email.
sendSignInLinkToEmailSends a sign-in email link to the user with the specified email.
setLanguageCodeSets the user-facing language code for auth operations.
setPersistenceSets the type of persistence for the currently saved auth session.
setTenantIdSets the tenant id.
signInAnonymouslySigns in as an anonymous user.
signInWithAppleStarts the Apple sign-in flow.
signInWithCustomTokenStarts the Custom Token sign-in flow.
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.
unlinkUnlinks a provider from a user account.
updateEmailUpdates the email address of the currently signed in user.
updatePasswordUpdates the password of the currently signed in user.
updateProfileUpdates a user’s profile data.
useAppLanguageSets the user-facing language code to be the default app language.
useEmulatorInstrument your app to talk to the Authentication emulator.
verifyBeforeUpdateEmailVerifies the new email address before updating the email address of the currently signed in user.
checkAppTrackingTransparencyPermissionChecks the current status of app tracking transparency.
requestAppTrackingTransparencyPermissionOpens the system dialog to authorize app tracking transparency.
addListenerListen for the user’s sign-in state changes.
addListenerListen to ID token changes for the currently signed-in user.
addListenerListen for a completed phone verification.
addListenerListen for a failed phone verification.
addListenerListen for a phone verification code.
removeAllListenersRemove all listeners for this plugin.
getPluginVersionGet the version of this plugin.

This reference is synced from src/definitions.ts in capacitor-firebase.