Getting Started
Copiez un prompt de configuration avec les étapes d'installation et la guide markdown complète pour ce plugin.
Set up this Capacitor plugin in the project.
Use the package manager already used by the project.
Install these package(s): `@capgo/capacitor-firebase-authentication`
Run the required Capacitor sync/update step after installation.
Read this markdown guide for the full setup steps: https://raw.githubusercontent.com/Cap-go/website/refs/heads/main/apps/docs/src/content/docs/docs/plugins/firebase-authentication/getting-started.mdx
Use that guide for platform-specific steps, native file edits, permissions, config changes, imports, and usage setup.
If that guide references other docs pages, read them too.
Installez
Section intitulée “Installer”Vous pouvez utiliser notre configuration assistée par l'IA pour installer le plugin. Ajoutez les Capgo compétences à votre outil IA à l'aide de la commande suivante :
npx skills add https://github.com/Cap-go/capgo-skills --skill capacitor-pluginsEnsuite, utilisez la prompt suivante :
Use the `capacitor-plugins` skill from `Cap-go/capgo-skills` to install the `@capgo/capacitor-firebase-authentication` plugin in my project.Si vous préférez la configuration manuelle, installez le plugin en exécutant les commandes suivantes et suivez les instructions spécifiques à la plateforme ci-dessous :
bun add @capgo/capacitor-firebase-authenticationbunx cap syncImporter
Section intitulée “Importer”import { FirebaseAuthentication } from '@capgo/capacitor-firebase-authentication';API Présentation
Section intitulée « API Présentation »applyActionCode
Section intitulée « applyActionCode »Applies a verification code sent to the user by email.
import { FirebaseAuthentication } from '@capgo/capacitor-firebase-authentication';
await FirebaseAuthentication.applyActionCode({} as ApplyActionCodeOptions);confirmPasswordReset
Section intitulée « confirmPasswordReset »Termine le processus de réinitialisation du mot de passe.
import { FirebaseAuthentication } from '@capgo/capacitor-firebase-authentication';
await FirebaseAuthentication.confirmPasswordReset({} as ConfirmPasswordResetOptions);confirmVerificationCode
Section intitulée « confirmVerificationCode »Termine le processus de vérification du numéro de téléphone.
import { FirebaseAuthentication } from '@capgo/capacitor-firebase-authentication';
await FirebaseAuthentication.confirmVerificationCode({} as ConfirmVerificationCodeOptions);createUserWithEmailAndPassword
Section intitulée « createUserWithEmailAndPassword »Crée un nouveau compte utilisateur avec adresse e-mail et mot de passe. Si le nouveau compte a été créé, l'utilisateur est connecté automatiquement.
import { FirebaseAuthentication } from '@capgo/capacitor-firebase-authentication';
await FirebaseAuthentication.createUserWithEmailAndPassword({} as CreateUserWithEmailAndPasswordOptions);Supprime et déconnecte l'utilisateur.
import { FirebaseAuthentication } from '@capgo/capacitor-firebase-authentication';
await FirebaseAuthentication.deleteUser();fetchSignInMethodsForEmail
Sous-section intitulée « récupérer les méthodes de connexion pour l'adresse e-mail »Récupère les méthodes de connexion pour une adresse e-mail.
import { FirebaseAuthentication } from '@capgo/capacitor-firebase-authentication';
await FirebaseAuthentication.fetchSignInMethodsForEmail({} as FetchSignInMethodsForEmailOptions);Récupère l'utilisateur actuellement connecté.
import { FirebaseAuthentication } from '@capgo/capacitor-firebase-authentication';
await FirebaseAuthentication.getCurrentUser();getPendingAuthResult
Sous-section intitulée « récupérer le résultat d'authentification en attente »Renvoie le SignInResult si votre application a lancé une session de connexion web et que le système nettoie l'application pendant l'exécution en arrière-plan.
Seulement disponible pour Android.
import { FirebaseAuthentication } from '@capgo/capacitor-firebase-authentication';
await FirebaseAuthentication.getPendingAuthResult();getIdToken
Section intitulée « getIdToken »Récupère le jeton d'authentification Firebase ID pour l'utilisateur actuellement connecté.
import { FirebaseAuthentication } from '@capgo/capacitor-firebase-authentication';
await FirebaseAuthentication.getIdToken();getIdTokenResult
Section intitulée « getIdTokenResult »Renvoie un jeton Web JSON désérialisé (JWT) utilisé pour identifier l'utilisateur à un service Firebase.
import { FirebaseAuthentication } from '@capgo/capacitor-firebase-authentication';
await FirebaseAuthentication.getIdTokenResult();getRedirectResult
Section intitulée « getRedirectResult »Renvoie le SignInResult à partir de la mise en œuvre de la redirection de la procédure de connexion.
Si la connexion n'a pas réussi, échoue avec une erreur.
Si aucune opération de redirection n'a été appelée, retourne un SignInResult avec un utilisateur null.
Seul disponible pour Web.
import { FirebaseAuthentication } from '@capgo/capacitor-firebase-authentication';
await FirebaseAuthentication.getRedirectResult();getTenantId
Sous-section intitulée “getTenantId”Obtenez l'ID de locataire.
import { FirebaseAuthentication } from '@capgo/capacitor-firebase-authentication';
await FirebaseAuthentication.getTenantId();isSignInWithEmailLink
Sous-section intitulée “isSignInWithEmailLink”Vérifiez si un lien entrant est une connexion avec un lien e-mail approprié pour signInWithEmailLink.
import { FirebaseAuthentication } from '@capgo/capacitor-firebase-authentication';
await FirebaseAuthentication.isSignInWithEmailLink({} as IsSignInWithEmailLinkOptions);linkWithApple
Sous-section intitulée “linkWithApple”S'authentifier avec le fournisseur d'authentification Apple.
L'utilisateur doit être connecté sur la couche native. skipNativeAuth La configuration n'a pas d'effet ici.
import { FirebaseAuthentication } from '@capgo/capacitor-firebase-authentication';
await FirebaseAuthentication.linkWithApple();linkWithEmailAndPassword
Section intitulée « lier avec un mot de passe »S'authentifier avec le fournisseur d'authentification Email.
L'utilisateur doit être connecté sur la couche native. skipNativeAuth La configuration n'a pas d'effet ici.
import { FirebaseAuthentication } from '@capgo/capacitor-firebase-authentication';
await FirebaseAuthentication.linkWithEmailAndPassword({} as LinkWithEmailAndPasswordOptions);linkWithEmailLink
Section intitulée « lier avec un lien Email »S'authentifier avec le fournisseur d'authentification Email.
L'utilisateur doit être connecté sur la couche native. skipNativeAuth Cette option de configuration n'a pas d'effet ici.
import { FirebaseAuthentication } from '@capgo/capacitor-firebase-authentication';
await FirebaseAuthentication.linkWithEmailLink({} as LinkWithEmailLinkOptions);linkWithFacebook
Section intitulée “se connecter avec Facebook”Liaise le compte utilisateur avec le fournisseur d'authentification Facebook.
L'utilisateur doit être connecté sur la couche native.
Le skipNativeAuth Cette option de configuration n'a pas d'effet ici.
import { FirebaseAuthentication } from '@capgo/capacitor-firebase-authentication';
await FirebaseAuthentication.linkWithFacebook();linkWithGameCenter
Section intitulée “se connecter avec Game Center”Liaise le compte utilisateur avec le fournisseur d'authentification Game Center.
L'utilisateur doit être connecté sur la couche native.
Le skipNativeAuth Cette option de configuration n'a pas d'effet ici.
Disponible uniquement pour iOS.
import { FirebaseAuthentication } from '@capgo/capacitor-firebase-authentication';
await FirebaseAuthentication.linkWithGameCenter();linkWithGithub
Section intitulée “linkWithGithub”Liens le compte utilisateur avec le fournisseur d'authentification GitHub.
L’utilisateur doit être connecté sur la couche native.
Le skipNativeAuth L'option de configuration n'a aucun effet ici.
import { FirebaseAuthentication } from '@capgo/capacitor-firebase-authentication';
await FirebaseAuthentication.linkWithGithub();linkWithGoogle
Section intitulée “linkWithGoogle”Liens le compte utilisateur avec le fournisseur d'authentification Google.
L’utilisateur doit être connecté sur la couche native.
Le skipNativeAuth L'option de configuration n'a aucun effet ici.
import { FirebaseAuthentication } from '@capgo/capacitor-firebase-authentication';
await FirebaseAuthentication.linkWithGoogle();linkWithMicrosoft
Section intitulée “linkWithMicrosoft”Liaison de la compte utilisateur avec le fournisseur d'authentification Microsoft.
L'utilisateur doit être connecté sur la couche native. skipNativeAuth La configuration n'a pas d'effet ici.
import { FirebaseAuthentication } from '@capgo/capacitor-firebase-authentication';
await FirebaseAuthentication.linkWithMicrosoft();linkWithOpenIdConnect
Section intitulée « linkWithOpenIdConnect »Liaison de la compte utilisateur avec un fournisseur OpenID Connect.
import { FirebaseAuthentication } from '@capgo/capacitor-firebase-authentication';
await FirebaseAuthentication.linkWithOpenIdConnect({} as LinkWithOpenIdConnectOptions);linkWithPhoneNumber
Section intitulée « linkWithPhoneNumber »Liaison de la compte utilisateur avec le fournisseur d'authentification par numéro de téléphone.
L'utilisateur doit être connecté sur la couche native. skipNativeAuth La configuration n'a pas d'effet ici.
Utilisez le phoneVerificationCompleted écouteur pour être notifié lorsque la vérification est terminée.
Utilisez le phoneVerificationFailed écouteur pour être notifié lorsque la vérification a échoué.
Utilisez le phoneCodeSent écouteur pour obtenir l'ID de vérification.
import { FirebaseAuthentication } from '@capgo/capacitor-firebase-authentication';
await FirebaseAuthentication.linkWithPhoneNumber({} as LinkWithPhoneNumberOptions);linkWithPlayGames
Section intitulée “linkWithPlayGames”Liaise le compte utilisateur avec le fournisseur d'authentification Play Games.
L'utilisateur doit être connecté sur la couche native.
La skipNativeAuth option de configuration n'a aucun effet ici.
Seul disponible pour Android.
import { FirebaseAuthentication } from '@capgo/capacitor-firebase-authentication';
await FirebaseAuthentication.linkWithPlayGames();linkWithTwitter
Section intitulée “linkWithTwitter”Liaise le compte utilisateur avec le fournisseur d'authentification Twitter.
L'utilisateur doit être connecté sur la couche native. skipNativeAuth Cette option de configuration n'a pas d'effet ici.
import { FirebaseAuthentication } from '@capgo/capacitor-firebase-authentication';
await FirebaseAuthentication.linkWithTwitter();linkWithYahoo
Sous-section intitulée « lier avec Yahoo »Lié l'account utilisateur avec le fournisseur d'authentification Yahoo.
L'utilisateur doit être connecté sur la couche native. skipNativeAuth Cette option de configuration n'a pas d'effet ici.
import { FirebaseAuthentication } from '@capgo/capacitor-firebase-authentication';
await FirebaseAuthentication.linkWithYahoo();Recharge les données de compte utilisateur, si connecté.
import { FirebaseAuthentication } from '@capgo/capacitor-firebase-authentication';
await FirebaseAuthentication.reload();revokeAccessToken
Sous-section intitulée « révoquer le jeton d'accès »Révoque le jeton d'accès spécifié. Actuellement, seuls les jetons d'accès OAuth Apple sont pris en charge.
import { FirebaseAuthentication } from '@capgo/capacitor-firebase-authentication';
await FirebaseAuthentication.revokeAccessToken({} as RevokeAccessTokenOptions);sendEmailVerification
Sous-section intitulée « envoyer un e-mail de vérification »Envoie un e-mail de vérification à l'utilisateur actuellement connecté.
import { FirebaseAuthentication } from '@capgo/capacitor-firebase-authentication';
await FirebaseAuthentication.sendEmailVerification();sendPasswordResetEmail
Sous-section intitulée « envoyer un e-mail de réinitialisation de mot de passe »Envoie un e-mail de réinitialisation de mot de passe.
import { FirebaseAuthentication } from '@capgo/capacitor-firebase-authentication';
await FirebaseAuthentication.sendPasswordResetEmail({} as SendPasswordResetEmailOptions);sendSignInLinkToEmail
Sous-section intitulée « envoyer un lien de connexion par e-mail »Envoie un lien de connexion par e-mail à l'utilisateur avec l'adresse e-mail spécifiée.
Pour terminer la connexion avec le lien e-mail, appelez signInWithEmailLink avec l'adresse e-mail et le lien e-mail fournis dans l'e-mail envoyé à l'utilisateur.
import { FirebaseAuthentication } from '@capgo/capacitor-firebase-authentication';
await FirebaseAuthentication.sendSignInLinkToEmail({} as SendSignInLinkToEmailOptions);setLanguageCode
Section intitulée « setLanguageCode »Sets the user-facing language code for auth operations.
import { FirebaseAuthentication } from '@capgo/capacitor-firebase-authentication';
await FirebaseAuthentication.setLanguageCode({} as SetLanguageCodeOptions);setPersistence
Section intitulée « setPersistence »Définit le type de persistance pour la session d'authentification enregistrée actuellement.
Disponible uniquement pour Web.
import { FirebaseAuthentication } from '@capgo/capacitor-firebase-authentication';
await FirebaseAuthentication.setPersistence({} as SetPersistenceOptions);setTenantId
Section intitulée « setTenantId »Définit l'identifiant du locataire.
import { FirebaseAuthentication } from '@capgo/capacitor-firebase-authentication';
await FirebaseAuthentication.setTenantId({} as SetTenantIdOptions);signInAnonymously
Section intitulée « signInAnonymously »Se connecte en tant qu'utilisateur anonyme.
import { FirebaseAuthentication } from '@capgo/capacitor-firebase-authentication';
await FirebaseAuthentication.signInAnonymously();signInWithApple
Section intitulée « signInWithApple »Démarre le flux de connexion Apple.
import { FirebaseAuthentication } from '@capgo/capacitor-firebase-authentication';
await FirebaseAuthentication.signInWithApple();signInWithCustomToken
Section intitulée « signInWithCustomToken »Démarre le flux de connexion avec un jeton personnalisé.
Cette méthode ne peut pas être utilisée en combinaison avec skipNativeAuth Sur Android et iOS. Dans ce cas, vous devez utiliser l'interface du Firebase JS __CAPGO_KEEP_0__ directement. signInWithCustomToken interface of the Firebase JS SDK directly.
import { FirebaseAuthentication } from '@capgo/capacitor-firebase-authentication';
await FirebaseAuthentication.signInWithCustomToken({} as SignInWithCustomTokenOptions);signInWithEmailAndPassword
Cette méthode ne peut pas être utilisée en même temps queLance le flux de connexion à l'aide d'un adresse e-mail et d'un mot de passe.
import { FirebaseAuthentication } from '@capgo/capacitor-firebase-authentication';
await FirebaseAuthentication.signInWithEmailAndPassword({} as SignInWithEmailAndPasswordOptions);signInWithEmailLink
Sous-section intitulée « signInWithEmailLink »Se connecte à l'aide d'un adresse e-mail et d'un lien de connexion à l'adresse e-mail.
import { FirebaseAuthentication } from '@capgo/capacitor-firebase-authentication';
await FirebaseAuthentication.signInWithEmailLink({} as SignInWithEmailLinkOptions);signInWithFacebook
Sous-section intitulée « signInWithFacebook »Lance le flux de connexion Facebook.
import { FirebaseAuthentication } from '@capgo/capacitor-firebase-authentication';
await FirebaseAuthentication.signInWithFacebook();signInWithGameCenter
Sous-section intitulée « signInWithGameCenter »Lance le flux de connexion Game Center.
Disponible uniquement pour iOS.
import { FirebaseAuthentication } from '@capgo/capacitor-firebase-authentication';
await FirebaseAuthentication.signInWithGameCenter();signInWithGithub
Section intitulée « signInWithGithub »Démarrer le flux de connexion GitHub.
import { FirebaseAuthentication } from '@capgo/capacitor-firebase-authentication';
await FirebaseAuthentication.signInWithGithub();signInWithGoogle
Section intitulée « signInWithGoogle »Démarrer le flux de connexion Google.
import { FirebaseAuthentication } from '@capgo/capacitor-firebase-authentication';
await FirebaseAuthentication.signInWithGoogle();signInWithMicrosoft
Section intitulée « signInWithMicrosoft »Démarrer le flux de connexion Microsoft.
import { FirebaseAuthentication } from '@capgo/capacitor-firebase-authentication';
await FirebaseAuthentication.signInWithMicrosoft();signInWithOpenIdConnect
Section intitulée « signInWithOpenIdConnect »Démarrer le flux de connexion OpenID Connect.
import { FirebaseAuthentication } from '@capgo/capacitor-firebase-authentication';
await FirebaseAuthentication.signInWithOpenIdConnect({} as SignInWithOpenIdConnectOptions);signInWithPhoneNumber
Section intitulée « signInWithPhoneNumber »Démarrer le flux de connexion à l'aide d'un numéro de téléphone.
Utilisez le phoneVerificationCompleted pour être averti lorsque la vérification est terminée. phoneVerificationFailed Utilisez le phoneCodeSent pour être averti lorsque la vérification a échoué.
Utilisez le
import { FirebaseAuthentication } from '@capgo/capacitor-firebase-authentication';
await FirebaseAuthentication.signInWithPhoneNumber({} as SignInWithPhoneNumberOptions);signInWithPlayGames
Disponible uniquement pour Android et iOS.Copier dans le presse-papier
Section intitulée « signInWithPlayGames »
import { FirebaseAuthentication } from '@capgo/capacitor-firebase-authentication';
await FirebaseAuthentication.signInWithPlayGames();signInWithTwitter
Section intitulée « signInWithTwitter »Démarrer la procédure de connexion Twitter.
import { FirebaseAuthentication } from '@capgo/capacitor-firebase-authentication';
await FirebaseAuthentication.signInWithTwitter();signInWithYahoo
Section intitulée « signInWithYahoo »Démarrer la procédure de connexion Yahoo.
import { FirebaseAuthentication } from '@capgo/capacitor-firebase-authentication';
await FirebaseAuthentication.signInWithYahoo();Démarrer la procédure de déconnexion.
import { FirebaseAuthentication } from '@capgo/capacitor-firebase-authentication';
await FirebaseAuthentication.signOut();Se délier d'un fournisseur d'un compte utilisateur.
import { FirebaseAuthentication } from '@capgo/capacitor-firebase-authentication';
await FirebaseAuthentication.unlink({} as UnlinkOptions);updateEmail
Mise à jour du courrier électroniqueMise à jour l'adresse e-mail de l'utilisateur actuellement connecté.
import { FirebaseAuthentication } from '@capgo/capacitor-firebase-authentication';
await FirebaseAuthentication.updateEmail({} as UpdateEmailOptions);updatePassword
Mise à jour du mot de passeMise à jour le mot de passe de l'utilisateur actuellement connecté.
import { FirebaseAuthentication } from '@capgo/capacitor-firebase-authentication';
await FirebaseAuthentication.updatePassword({} as UpdatePasswordOptions);updateProfile
Mise à jour du profilMise à jour les données de profil de l'utilisateur.
import { FirebaseAuthentication } from '@capgo/capacitor-firebase-authentication';
await FirebaseAuthentication.updateProfile({} as UpdateProfileOptions);useAppLanguage
Mise à jour de la langue de l'applicationSets the user-facing language code to be the default app language.
import { FirebaseAuthentication } from '@capgo/capacitor-firebase-authentication';
await FirebaseAuthentication.useAppLanguage();useEmulator
Section intitulée “useEmulateur”Configurez votre application pour communiquer avec l'émulateur d'authentification.
import { FirebaseAuthentication } from '@capgo/capacitor-firebase-authentication';
await FirebaseAuthentication.useEmulator({} as UseEmulatorOptions);verifyBeforeUpdateEmail
Section intitulée “vérifierAvantMiseAJourAdresseEmail”Vérifiez l'adresse e-mail nouvelle avant de mettre à jour l'adresse e-mail de l'utilisateur actuellement connecté.
import { FirebaseAuthentication } from '@capgo/capacitor-firebase-authentication';
await FirebaseAuthentication.verifyBeforeUpdateEmail({} as VerifyBeforeUpdateEmailOptions);checkAppTrackingTransparencyPermission
Section intitulée “vérifierAppTrackingTransparencePermission”Vérifiez l'état actuel de la transparence de suivi de l'application.
Seulement disponible sur iOS.
import { FirebaseAuthentication } from '@capgo/capacitor-firebase-authentication';
await FirebaseAuthentication.checkAppTrackingTransparencyPermission();requestAppTrackingTransparencyPermission
Section intitulée “demanderAppTrackingTransparencePermission”Ouvrez le dialogue système pour autoriser la transparence de suivi de l'application.
Attention : L’utilisateur peut avoir désactivé la demande de suivi dans les paramètres du appareil, voir la documentation d'Apple.
Disponible uniquement sur iOS.
import { FirebaseAuthentication } from '@capgo/capacitor-firebase-authentication';
await FirebaseAuthentication.requestAppTrackingTransparencyPermission();Référence de type
Sous-titre « Référence de type »ApplyActionCodeOptions
Sous-titre « Options d'application du code d'action »export interface ApplyActionCodeOptions { /** * A verification code sent to the user. * * @since 0.2.2 */ oobCode: string;}ConfirmPasswordResetOptions
Sous-titre « Options de confirmation de réinitialisation du mot de passe »export interface ConfirmPasswordResetOptions { /** * A verification code sent to the user. * * @since 0.2.2 */ oobCode: string; /** * The new password. * * @since 0.2.2 */ newPassword: string;}ConfirmVerificationCodeOptions
Sous-titre « Options de confirmation du code de vérification »export interface ConfirmVerificationCodeOptions { /** * The verification ID received from the `phoneCodeSent` listener. * * The `verificationCode` option must also be provided. * * @since 5.0.0 */ verificationId: string; /** * The verification code either received from the `phoneCodeSent` listener or entered by the user. * * The `verificationId` option must also be provided. * * @since 5.0.0 */ verificationCode: string;}SignInResult
Section intitulée « Résultat de connexion »export interface SignInResult { /** * The currently signed-in user, or null if there isn't any. * * @since 0.1.0 */ user: User | null; /** * Credentials returned by an auth provider. * * @since 0.1.0 */ credential: AuthCredential | null; /** * Additional user information from a federated identity provider. * * @since 0.5.1 */ additionalUserInfo: AdditionalUserInfo | null;}CreateUserWithEmailAndPasswordOptions
Section intitulée « Options pour créer un utilisateur avec un mot de passe »export interface CreateUserWithEmailAndPasswordOptions { /** * @since 0.2.2 */ email: string; /** * @since 0.2.2 */ password: string;}FetchSignInMethodsForEmailOptions
Section intitulée « Options pour récupérer les méthodes de connexion par e-mail »export interface FetchSignInMethodsForEmailOptions { /** * The user's email address. * * @since 6.0.0 */ email: string;}FetchSignInMethodsForEmailResult
Section intitulée « Résultat de récupération des méthodes de connexion par e-mail »export interface FetchSignInMethodsForEmailResult { /** * The sign-in methods for the specified email address. * * This list is empty when [Email Enumeration Protection](https://cloud.google.com/identity-platform/docs/admin/email-enumeration-protection) * is enabled, irrespective of the number of authentication methods available for the given email. * * @since 6.0.0 */ signInMethods: string[];}GetCurrentUserResult
Section intitulée « Résultat de la récupération de l'utilisateur actuel »export interface GetCurrentUserResult { /** * The currently signed-in user, or null if there isn't any. * * @since 0.1.0 */ user: User | null;}GetIdTokenOptions
Section intitulée « Options pour obtenir un jeton d'ID »export interface GetIdTokenOptions { /** * Force refresh regardless of token expiration. * * @since 0.1.0 */ forceRefresh: boolean;}GetIdTokenResult
Section intitulée « Résultat de l'ID de jeton »export interface GetIdTokenResult { /** * The Firebase Auth ID token JWT string. * * @since 0.1.0 */ token: string;}GetIdTokenResultOptions
Section intitulée « Options de Résultat de l'ID de jeton »export interface GetIdTokenResultOptions { /** * Force refresh regardless of token expiration. * * @since 7.4.0 */ forceRefresh: boolean;}GetIdTokenResultResult
Section intitulée « Résultat de Résultat de l'ID de jeton »export interface GetIdTokenResultResult { /** * The authentication time in milliseconds since the epoch. * * This is the time the user authenticated (signed in) and not the time the token was refreshed. * * @since 7.4.0 */ authTime: number; /** * The ID token expiration time in milliseconds since the epoch. * * @since 7.4.0 */ expirationTime: number; /** * The ID token issuance time in milliseconds since the epoch. * * @since 7.4.0 */ issuedAtTime: number; /** * The sign-in provider through which the ID token was obtained. * * @since 7.4.0 */ signInProvider: string | null; /** * The type of second factor associated with this session, provided the user was multi-factor * authenticated (eg. phone, etc). * * @since 7.4.0 */ signInSecondFactor: string | null; /** * The entire payload claims of the ID token including the standard reserved claims as well as * the custom claims. * * @since 7.4.0 */ claims: Record<string, unknown>;}Source de Vérité
Section intitulée « Source de Vérité »Cette page est générée à partir du plugin’s src/definitions.tsRe-générez la synchronisation lorsque le public API change en amont.
Continuez de l'onglet « Démarrage »
Section intitulée « Continuez de l'étape de démarrage »Si vous utilisez Démarrage pour planifier l'authentification et les flux de compte, connectez-l’avec @capgo/capacitor-connexion-social pour les détails d'implémentation dans @capgo/capacitor-connexion-social, @capgo/capacitor-passkey pour les détails d'implémentation dans @capgo/capacitor-passkey, @capgo/capacitor-authentification-native-biometrique pour les détails d'implémentation dans @capgo/capacitor-authentification-native-biometrique, L'authentification à deux facteurs pour les détails d'implémentation dans L'authentification à deux facteurs, et SSO (Entreprise) pour les détails d'implémentation dans SSO (Entreprise).