OAuth 1.0a und die Google OAuth-Clientbibliothek für Java
Mit Sammlungen den Überblick behalten
Sie können Inhalte basierend auf Ihren Einstellungen speichern und kategorisieren.
OAuth 1.0 ist eine Standardspezifikation, mit der Endnutzer eine Clientanwendung sicher für den Zugriff auf geschützte serverseitige Ressourcen autorisieren können.
Wichtige Hinweise
Die Unterstützung von OAuth 1.0a durch die Google OAuth-Clientbibliothek für Java ist @Beta.
Verwenden Sie nicht OAuth 1.0 für den Zugriff auf Google APIs, da Google die Unterstützung für OAuth 1.0 eingestellt hat und OAuth 2.0 bevorzugt. Wenn Sie derzeit eine Anwendung haben, die mit OAuth 1.0 auf Google APIs zugreift, lesen Sie Von OAuth 1.0 zu OAuth 2.0 migrieren.
Verwendung von OAuth 1.0
Die Google OAuth-Clientbibliothek unterstützt zwei Arten von Signaturmethoden für OAuth 1.0a (@Beta), die wir für Dienste von Drittanbietern bereitstellen:
Weitere Informationen finden Sie im Javadoc für das OAuth 1.0-Paket.
Sofern nicht anders angegeben, sind die Inhalte dieser Seite unter der Creative Commons Attribution 4.0 License und Codebeispiele unter der Apache 2.0 License lizenziert. Weitere Informationen finden Sie in den Websiterichtlinien von Google Developers. Java ist eine eingetragene Marke von Oracle und/oder seinen Partnern.
Zuletzt aktualisiert: 2025-08-31 (UTC).
[[["Leicht verständlich","easyToUnderstand","thumb-up"],["Mein Problem wurde gelöst","solvedMyProblem","thumb-up"],["Sonstiges","otherUp","thumb-up"]],[["Benötigte Informationen nicht gefunden","missingTheInformationINeed","thumb-down"],["Zu umständlich/zu viele Schritte","tooComplicatedTooManySteps","thumb-down"],["Nicht mehr aktuell","outOfDate","thumb-down"],["Problem mit der Übersetzung","translationIssue","thumb-down"],["Problem mit Beispielen/Code","samplesCodeIssue","thumb-down"],["Sonstiges","otherDown","thumb-down"]],["Zuletzt aktualisiert: 2025-08-31 (UTC)."],[[["\u003cp\u003eOAuth 1.0 is a standard for secure authorization of client applications to access protected server resources.\u003c/p\u003e\n"],["\u003cp\u003eGoogle's OAuth Client Library for Java provides beta support for OAuth 1.0a, but it's not for use with Google APIs.\u003c/p\u003e\n"],["\u003cp\u003eGoogle has deprecated OAuth 1.0 for its APIs, recommending migration to OAuth 2.0 instead.\u003c/p\u003e\n"],["\u003cp\u003eThe library supports HMAC-SHA1 and RSA-SHA1 signature methods for OAuth 1.0a for non-Google services.\u003c/p\u003e\n"]]],[],null,["# OAuth 1.0a and the Google OAuth Client Library for Java\n\n[OAuth 1.0](http://tools.ietf.org/html/rfc5849) is a standard specification for\nallowing end users to securely authorize a client application to access protected\nserver-side resources.\n\nImportant notices\n-----------------\n\nThe OAuth 1.0a support provided by the Google OAuth Client Library for Java is\n[@Beta](/api-client-library/java/google-oauth-java-client#beta).\n\nDo not use OAuth 1.0 to access\nGoogle APIs, because Google has deprecated its support for OAuth 1.0 in favor\nof OAuth 2.0. If you currently have an app that accesses Google APIs using\nOAuth 1.0, see\n[Migrating from OAuth 1.0 to OAuth 2.0](https://developers.google.com/accounts/docs/OAuth_ref#migration).\n\nUsing OAuth 1.0\n---------------\n\nThe Google OAuth Client Library for Java supports two types of signature methods\nfor OAuth 1.0a ([@Beta](/api-client-library/java/google-oauth-java-client#beta)), which we provide for\nuse with non-Google services:\n\n- HMAC-SHA1 ([OAuthHmacSigner](https://developers.google.com/api-client-library/java/google-oauth-java-client/reference/1.20.0/com/google/api/client/auth/oauth/OAuthHmacSigner.html))\n- RSA-SHA1 ([OAuthRsaSigner](https://developers.google.com/api-client-library/java/google-oauth-java-client/reference/1.20.0/com/google/api/client/auth/oauth/OAuthRsaSigner.html))\n\nFor details, see the\n[Javadoc for the OAuth 1.0 package](https://developers.google.com/api-client-library/java/google-oauth-java-client/reference/1.20.0/com/google/api/client/auth/oauth/package-summary.html)."]]