OAuth 2.0 Kitaplıkları ve Örnekleri
Aşağıdaki kitaplıklar ve örnekler, Gmail IMAP ve SMTP hizmetlerine erişmek için OAuth 2.0 yetkilendirmesini kullanmaya başlamayı kolaylaştırır.
Java Örneği
JavaMail 1.5.2 veya sonraki sürümler IMAP için OAuth'u doğal olarak destekler.
Eski bir sürümü kullanmanız veya kendi uygulamanızı oluşturmanız gerekiyorsa Java örnek koduna bakın.
Örneği indirmek için OAuth2 ile Gmail'de kimlik doğrulama için araçlar ve örnek kod başlıklı makaleyi inceleyin.
Python Örneği
PHP Örneği
Aksi belirtilmediği sürece bu sayfanın içeriği Creative Commons Atıf 4.0 Lisansı altında ve kod örnekleri Apache 2.0 Lisansı altında lisanslanmıştır. Ayrıntılı bilgi için Google Developers Site Politikaları'na göz atın. Java, Oracle ve/veya satış ortaklarının tescilli ticari markasıdır.
Son güncelleme tarihi: 2024-12-22 UTC.
[null,null,["Son güncelleme tarihi: 2024-12-22 UTC."],[[["This page provides libraries and samples to facilitate using OAuth 2.0 authorization for accessing Gmail IMAP and SMTP services."],["Sample code and tools are available for Java, Python, and PHP to help developers integrate OAuth 2.0 into their applications."],["JavaMail 1.5.2 and later natively support OAuth for IMAP, while older versions can utilize the provided Java sample code."],["Python and PHP developers can find getting started guides and downloadable samples for seamless OAuth 2.0 integration with Gmail."]]],["OAuth 2.0 authorization for Gmail IMAP and SMTP services is facilitated through provided libraries and samples. Java users with JavaMail 1.5.2+ have native OAuth support; older versions or custom implementations can use linked sample code. Python and PHP users can access \"Getting Started\" guides and download sample code via provided links. The tools for all three can be found in the linked Gmail OAuth2 repository.\n"]]