
- 50 pages
- English
- ePUB (mobile friendly)
- Available on iOS & Android
About this book
Facebook, Google, Foursquare oder Pinterest haben eines gemeinsam: Die APIs dieser Dienste setzen allesamt auf OAuth 2.0. OAuth 2.0 ist ein Proto-koll zur Autorisierung von API-Zugriffen, beispielsweise durch server- oder clientseitige Webanwendungen oder mobile Apps. Trotz des spektakulären Rückzugs von OAuth-2.0-Editor Eran Hammer werden wohl auch in Zukunft mehr und mehr APIs auf dieses Protokoll setzen: OAuth 2.0 hat sich bereits bei den großen Services (Google, Facebook) etabliert und ist im Vergleich zu OAuth1 viel einfacher zu benutzen. Sven Haiges betrachtet in seinem shortcut OAuth 2.0 aus Sicht des Clients und stellt den Authorization Code Grant vor. Dies ist der wichtigste Grant, der u. a. von Google, Facebook oder Pinterest benutzt wird. Im zweiten Kapitel werden die drei weiteren OAuth 2.0 Grants gezeigt. Diese weichen von dem vorgestellten Authorization Code Grant teils stark ab und richten sich an clientseitige Webapplikationen (also JavaScript Clients), mobile Clients sowie beliebige Clientapplikationen. Im dritten und letzten Kapitel erläutert Sven Haiges die Implementierung eines OAuth-2.0-Servers anhand des OAuth-2.0-Moduls von Spring Security.
Frequently asked questions
- Essential is ideal for learners and professionals who enjoy exploring a wide range of subjects. Access the Essential Library with 800,000+ trusted titles and best-sellers across business, personal growth, and the humanities. Includes unlimited reading time and Standard Read Aloud voice.
- Complete: Perfect for advanced learners and researchers needing full, unrestricted access. Unlock 1.4M+ books across hundreds of subjects, including academic and specialized titles. The Complete Plan also includes advanced features like Premium Read Aloud and Research Assistant.
Please note we cannot support devices running on iOS 13 and Android 7 or earlier. Learn more about using the app.
Information
Table of contents
- Cover
- Impressum
- 1 OAuth 2.0 – die Clientseite
- 2 OAuth 2.0: Implicit Grant, Resource Owner Password Credentials Grant und Client Credentials Grant
- 3 Implementierung eines OAuth-2.0-Servers mit Spring Security
- Autor