Eski Google ile Oturum Açma özelliğinden Kimlik Bilgisi Yöneticisi ve AuthorizationClient'a geçiş
Koleksiyonlar ile düzeninizi koruyun
İçeriği tercihlerinize göre kaydedin ve kategorilere ayırın.
Uygulamanızın kimlik doğrulama deneyimini kolaylaştırmak ve geliştirme uygulamalarınızı geleceğe hazır hale getirmek için Android için Google ile oturum açma'dan Android Kimlik Bilgisi Yöneticisi'ne geçiş yapın. Android için Google ile oturum açma desteği sonlandırıldı ve Google Play Hizmetleri Auth SDK'sından kaldırılacak.
(com.google.android.gms:play-services-auth
) 2025'te.
Kimlik doğrulama için geliştiricilerin Android projelerini Kimlik Bilgisi Yöneticisi'ne taşımaları gerekir. Bu araç, Google ile oturum açma için OneTap ve düğme akışlarını tam olarak destekler. Ayrıntılar için blog yayınımızı inceleyin.
Google tarafından depolanan kullanıcı verilerine (ör. Google Drive) erişmesi gereken yetkilendirme işlemleri için AuthorizationClient API'yi kullanın.
Kimlik doğrulamayı Kimlik Bilgisi Yöneticisi API'sine taşıma
Kullanıcılarınız için kimlik doğrulama deneyimini iyileştiren ve modern özelliklere ve uygulamalara destek sağlayan basit, birleşik bir API ile Kimlik Bilgisi Yöneticisi, Android için eski Google ile oturum açma özelliğine kıyasla birkaç önemli avantaj sunar:
- Kimlik Bilgisi Yöneticisi ile oluşturulan basitleştirilmiş ve kolaylaştırılmış akışların, ortalama kayıt ve oturum açma sürelerini %50'ye varan oranda azalttığı gösterilmiştir.
- Kimlik Bilgisi Yöneticisi; Google ile oturum açma, geçiş anahtarları ve şifreler dahil olmak üzere birden fazla oturum açma yöntemini destekler.
- Kimlik Bilgisi Yöneticisi, Android cihazlarda daha tutarlı bir kullanıcı arayüzü sunan, gelişen güvenlik standartlarına uyum sağlayan ve geliştirme sürecinizi basitleştiren tek bir birleşik API'dir.
- Kimlik Bilgisi Yöneticisi, tüm kimlik doğrulama yöntemlerinde tutarlı ve birleşik bir kullanıcı deneyimi sunar.
- Android 14'ten itibaren Kimlik Bilgisi Yöneticisi, üçüncü taraf şifre ve şifre anahtarı sağlayıcılarını destekler. Böylece kullanıcılar tercih ettikleri kimlik bilgisi sağlayıcıyı seçebilir.
- Kimlik Bilgisi Yöneticisi, Google ile oturum aç düğmesini tam olarak destekler. Böylece geliştiriciler bu düğmeyi doğrudan mevcut akışlara yerleştirebilir.
- Kimlik Bilgisi Yöneticisi, One Tap özelliklerini destekler. Böylece geliştiriciler, kullanıcılardan tek bir dokunuşla Google Hesaplarıyla oturum açmalarını doğrudan isteyebilir.
Kimlik Bilgisi Yöneticisi entegrasyonunuzu başlatmak için geliştirici kılavuzunu okuyun.
Kimlik akışlarınızın nasıl tasarlanması gerektiğini anlamak için geçiş anahtarlarıyla kimlik doğrulama kullanıcı deneyimi hakkında bilgi edinin. OneTap veya Google ile oturum aç düğmesiyle ilgili uygulama ayrıntıları için Kimlik Bilgisi Yöneticisi'ni Google ile oturum aç ile entegre etme kılavuzunu okuyun.
Yetkilendirmeyi AuthorizationClient API'ye taşıma
Eski Google ile oturum açma özelliğinin aksine, kimlik doğrulama ve yetkilendirme işlevleri artık iki ayrı akış olarak kullanılabilir. Kimlik Bilgisi Yöneticisi, Android'de kimlik doğrulama için kullandığınız API'dir. Google Drive gibi bir hizmete erişme gibi yetkilendirme işlemleri için AuthorizationClient API'yi kullanın. Bu ayrım, kullanıcı akışlarını kullanıcı amacıyla eşleştirmenize yardımcı olur. Böylece kullanıcılarınız Google Hesaplarıyla kaydolabilir veya oturum açabilir. Ayrıca, uygulamanın ihtiyaç duyduğu durumlarda Google Hesaplarından ayrı olarak yetkilendirme izinleri verebilirsiniz.
Yetkilendirme hakkında daha fazla bilgi edinmek için Kullanıcı Verilerine Erişim İçin Yetkilendirme kılavuzunu okuyun ve AuthorizationClient API belgelerine göz atın.
Bu sayfadaki içerik ve kod örnekleri, İçerik Lisansı sayfasında açıklanan lisanslara tabidir. Java ve OpenJDK, Oracle ve/veya satış ortaklarının tescilli ticari markasıdır.
Son güncelleme tarihi: 2025-07-27 UTC.
[null,null,["Son güncelleme tarihi: 2025-07-27 UTC."],[],[],null,["# Migrate from legacy Google Sign-In to Credential Manager and AuthorizationClient\n\nMigrate from [Google Sign-In for Android](https://developers.google.com/identity/sign-in/android/start-integrating) to Android Credential Manager to\nstreamline your app's authentication experience and future-proof your\ndevelopment practices. Google Sign-In for Android is deprecated and will be\nremoved from the [Google Play Services Auth SDK](https://maven.google.com/web/index.html?q=play-services-auth#com.google.android.gms:play-services-auth).\n(`com.google.android.gms:play-services-auth`) in 2025.\n\nFor **authentication** , developers should migrate their Android projects to\n[Credential Manager](#authentication), which fully supports One Tap and\nbutton flows for Sign in with Google. See our [blog post](https://android-developers.googleblog.com/2024/09/streamlining-android-authentication-credential-manager-replaces-legacy-apis.html) for details.\n\nFor **authorization** actions that need access to user data stored by Google\nsuch as Google Drive, use the [AuthorizationClient API](#authorization).\n\nMigrate authentication to the Credential Manager API\n----------------------------------------------------\n\nWith a streamlined, unified API that enables support for modern features and\npractices while improving the authentication experience for your users,\nCredential Manager offers several key advantages over legacy Google Sign-In for\nAndroid:\n\n- Simplified and streamlined flows built with Credential Manager have been shown to [reduce average sign-up and sign-in times](https://developers.googleblog.com/2023/10/how-kayak-reduced-sign-in-time-and-improved-security-with-passkeys.html) by up to 50%.\n- Credential Manager integrates support for multiple sign-in methods, including [Sign in with Google](/training/sign-in/credential-manager), [passkeys](https://developers.google.com/identity/passkeys) and passwords.\n- Credential Manager is a single, unified API that provides a more consistent user interface across Android devices, aligns with evolving security standards, and simplifies your development process.\n- Credential Manager provides a consistent, unified [user experience](/design/ui/mobile/guides/patterns/passkeys) across all authentication methods.\n- Starting with Android 14, Credential Manager supports third-party password and passkey providers, allowing users to select their preferred credential provider.\n- Credential Manager fully supports the [Sign in with Google](/training/sign-in/credential-manager) button, so developers can drop this directly into existing flows.\n- Credential Manager supports One Tap capabilities, so developers can directly prompt users to sign in with their Google Account with a single tap.\n\nTo begin your Credential Manager integration, [read the developer guide](/training/sign-in/passkeys).\nRead about [authentication user experience with passkeys](/design/ui/mobile/guides/patterns/passkeys) to understand how\nyour identity flows should be designed. Read the [Integrate Credential Manager\nwith Sign in with Google](/training/sign-in/credential-manager) guide for implementation details on One Tap or the\nSign in with Google button.\n\nMigrate authorization to the AuthorizationClient API\n----------------------------------------------------\n\nIn contrast with legacy Google Sign-In, the authentication and authorization\nfunctions are now available as two separate and distinct flows. Credential\nManager is the API you use for ***authentication*** on Android. For\n***authorization*** actions, such as accessing a service like Google Drive, use\nthe AuthorizationClient API. This separation helps you map user flows to user\nintent, so that your users can sign up or sign in with their Google Accounts,\nand you can separately provide authorization permissions from their Google\nAccount when they are needed by the application as opposed to login time alone.\n\nTo learn more about authorization, read the [Authorize Access to User Data](https://developers.google.com/identity/sign-in/android/authorize-access)\nguide, and check out the [AuthorizationClient API](https://developers.google.com/android/reference/com/google/android/gms/auth/api/identity/AuthorizationClient) documentation."]]