身分
應用程式的安全性和功能取決於使用者身分管理。這包括驗證使用者身分 (驗證)、控制使用者資料的存取權 (授權),以及提供順暢的帳戶建立程序。
Credential Manager 是各種登入方法 (包括密碼金鑰) 的集中管理中心,可協助使用者輕觸一下即可登入應用程式。這樣一來,使用者就不必記得要使用哪種方法,而是可以專注於選擇正確的帳戶。
輕觸登入
簡單建立帳戶
統一介面
與 Google 密碼管理工具整合
密碼金鑰可改善 Android 上的驗證使用者體驗
登入功能可能會讓使用者感到困惑,並放棄使用應用程式。
密碼金鑰可透過 Credential Manager 取得,可讓使用者輕鬆登入,且更安全,因為密碼金鑰可防範網路釣魚,且無法重複使用。使用者可以使用指紋、臉部辨識或本機 PIN 碼解鎖裝置來登入,不必再記住並輸入密碼。

快速建立帳戶
在建立帳戶時整合「使用 Google 帳戶登入」功能,簡化註冊程序並降低放棄率。
這個一鍵註冊選項可利用熟悉的使用者憑證,盡量減少摩擦並改善使用者體驗。
在註冊時優先使用「使用 Google 帳戶登入」功能,可大幅改善應用程式新手上路流程和使用者滿意度。
單鍵登入
Credential Manager 是 Jetpack API,可在單一 API 中支援多種登入方式,例如使用者名稱和密碼、密碼金鑰和聯合登入 (例如使用 Google 帳戶登入),因此可為開發人員簡化整合作業。
使用者只要按一下即可登入應用程式,不必擔心選錯選項。Credential Manager 統合了各種驗證方法的登入介面,無論使用者選擇何種方式,都能更輕鬆簡便地登入應用程式。
開始使用驗證功能
將憑證管理工具與「使用 Google 帳戶登入」功能整合
最新消息和影片
Headspace's Android reboot increases monthly active users by 15%
Updated 2021年9月27日
In order to launch new features on their Android app, Headspace spent 8 months refactoring their architecture and rewriting in Kotlin. Learn how this reboot helped their business grow.
SmartNews reduces lines of code by 20% and improves team morale with Kotlin
Updated 2021年1月6日
SmartNews helps millions of people discover their world everyday by sharing timely news from a diverse set of news sources.
Twitter increases developer productivity and code reliability with Kotlin
Updated 2020年10月21日
Twitter is one of the most widely used social media platforms where users can see what’s happening in the world at any given moment.
Google Home reduces #1 cause of crashes by 33%
Updated 2020年7月13日
The Google Home app helps set up, manage, and control your Google Home, Google Nest, and Chromecast devices—plus thousands of connected home products like lights, cameras, thermostats, and more.
Duolingo completes migration to Kotlin and reduces its line count by an average of 30%
Updated 2020年5月15日
Duolingo is one of the most popular language learning platforms in the world, and one of the most-downloaded free education apps on Google Play, with more than 200 million downloads.
從舊版 API 改用 Credential Manager
從舊版 Google 登入遷移
Google Sign-In for Android 已淘汰,預計於 2025 年移除。改用 Credential Manager,提供更順暢的使用者體驗,並讓應用程式保持最新狀態。
Credential Manager 主要用於註冊和登入。如要進行授權,請使用 AuthorizationClient 針對 Google 帳戶 (例如 Google 雲端硬碟、日曆或相簿) 提出精細的授權要求。