Restez organisé à l'aide des collections
Enregistrez et classez les contenus selon vos préférences.
Figure 1:Exemple de bottom sheet du Gestionnaire d'identifiants affichant les options d'authentification pour les clés d'accès, les mots de passe et la connexion fédérée
Améliorez l'expérience utilisateur de votre application en intégrant de manière transparente l'authentification sans mot de passe à des clés d'accès à l'aide du Gestionnaire d'identifiants. Le Gestionnaire d'identifiants est une bibliothèque Android Jetpack qui unifie la prise en charge des API pour la plupart des principales méthodes d'authentification, y compris les clés d'accès, les mots de passe et les solutions de connexion fédérée (telles que Se connecter avec Google).
Le Gestionnaire d'identifiants affiche automatiquement une bottom sheet unifiée pour les méthodes d'authentification modernes. Il remplace de manière moderne les implémentations d'authentification existantes, y compris Smart Lock pour les mots de passe sur Android et One Tap. L'interface de connexion unifiée du Gestionnaire d'identifiants offre à vos utilisateurs une expérience claire, familière et cohérente, réduit la perte d'utilisateurs et améliore la vitesse d'inscription et de connexion.
Découvrez comment intégrer le Gestionnaire d'identifiants à votre application Android:
Découvrez comment simplifier vos API d'identité et d'authentification existantes pour prendre en charge les clés d'accès et améliorer la facilité d'utilisation avec l'API Gestionnaire d'identifiants:
Sauf indication contraire, le contenu de cette page est régi par une licence Creative Commons Attribution 4.0, et les échantillons de code sont régis par une licence Apache 2.0. Pour en savoir plus, consultez les Règles du site Google Developers. Java est une marque déposée d'Oracle et/ou de ses sociétés affiliées.
Dernière mise à jour le 2025/07/25 (UTC).
[null,null,["Dernière mise à jour le 2025/07/25 (UTC)."],[[["\u003cp\u003eCredential Manager is an Android Jetpack library that streamlines user authentication by supporting passkeys, passwords, and federated sign-in options like "Sign in with Google," replacing older methods like Smart Lock and One Tap.\u003c/p\u003e\n"],["\u003cp\u003eIt provides a unified bottom sheet for a consistent user experience, potentially boosting registration and sign-in speeds while minimizing user drop-off.\u003c/p\u003e\n"],["\u003cp\u003eDevelopers can leverage Credential Manager to easily integrate passkeys for passwordless authentication, improving app security and user experience.\u003c/p\u003e\n"],["\u003cp\u003eExisting authentication systems can be modernized using Credential Manager, with guides available for migrating from legacy methods like Smart Lock, FIDO2, and Google Sign-In.\u003c/p\u003e\n"],["\u003cp\u003eComprehensive resources, including developer guides, UX guidelines, codelabs, and API documentation, are readily available to assist with integrating and utilizing Credential Manager effectively.\u003c/p\u003e\n"]]],[],null,["# Android Credential Manager API\n\n**Figure 1:** Example Credential Manager bottom sheet showing authentication options for passkeys, passwords, and federated sign-in.\n\nBoost your app's user experience by seamlessly integrating\npasswordless authentication with passkeys using Credential Manager. Credential\nManager is an Android Jetpack library that unifies API support for most major\nauthentication methods, including passkeys, passwords, and federated sign-in\nsolutions (such as Sign-in with Google).\n\nCredential Manager automatically displays a unified bottom-sheet for modern\nauthentication methods, and is the modern replacement for existing\nauthentication implementations, including [Smart Lock for Passwords on\nAndroid](https://developer.android.com/training/sign-in/smart-lock-migration), and One Tap. Credential Manager's unified sign-in interface gives\nyour users a clear, familiar, and consistent experience, reduces churn and\nimproves registration and sign-in speeds.\n| **Note:** Sign in with Google is now built into Credential Manager, and these credentials are selected by users from Credential Manager's bottom sheet. Read \"[Integrate Credential Manager with Sign in with\n| Google](https://developer.android.com/training/sign-in/credential-manager)\" to learn more.\n\nLearn more about how to integrate Credential Manager with your Android app:\n\n- [Sign in your user with Credential Manager developer's guide](https://developer.android.com/training/sign-in/passkeys)\n- [User authentication with passkeys UX guide](https://developer.android.com/design/ui/mobile/guides/patterns/passkeys)\n- [Integrate Credential Manager with Sign in with Google](https://developer.android.com/training/sign-in/credential-manager)\n- [Upgrade from legacy Sign in with Google button flows](https://developer.android.com/training/sign-in/credential-manager#siwg-button)\n- [Integrate Credential Manager with WebView](https://developer.android.com/training/sign-in/credential-manager-webview)\n- [Migrate from Smart Lock for Passwords to Credential Manager](https://developer.android.com/training/sign-in/smart-lock-migration)\n- [Migrate from FIDO2 to Credential Manager](https://developer.android.com/training/sign-in/fido2-migration)\n- [Migrate from legacy Google Sign-In to Credential Manager](https://developer.android.com/training/sign-in/legacy-gsi-migration)\n- [androidx.credentials API documentation](https://developer.android.com/jetpack/androidx/releases/credentials)\n- [Passkeys on Android learning pathway](https://developer.android.com/courses/pathways/passkeys)\n- [Codelab: Learn how to simplify auth journeys using Credential Manager API in\n your Android app](https://codelabs.developers.google.com/credential-manager-api-for-android)\n\nLearn more about how to streamline your existing identity and authentication\nAPIs to support passkeys and improved usability with the Credential Manager API:\n\n- [Integrate Credential Manager with your credential provider\n solution](https://developer.android.com/training/sign-in/credential-provider)\n- [Make Credential Manager calls on behalf of other parties for privileged\n apps](https://developer.android.com/training/sign-in/privileged-apps)"]]