O'Reilly logo

Advanced API Security: Securing APIs with OAuth 2.0, OpenID Connect, JWS, and JWE by Prabath Siriwardena

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

CHAPTER 13

image

JWT, JWS, and JWE

JavaScript Object Notation (JSON) provides a way of exchanging data in a language-neutral, text-based, and lightweight manner. It was originally derived from the ECMAScript programming language. JSON data interchange format is defined in RFC 7159: http://tools.ietf.org/html/rfc7159. JSON and XML are the most commonly used data exchange formats for APIs. Looking at the trend over the last five years, it’s more than obvious that JSON is replacing XML. Most of the APIs out there have support for JSON, and some support both JSON and XML. It’s now very difficult even to find an XML-only API.

JSON Web Token

JSON Web Token ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required