JSON Web Token (JWT) RFC7519

Posted Chuck Lu

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了JSON Web Token (JWT) RFC7519相关的知识,希望对你有一定的参考价值。

JSON Web Token (JWT)

Abstract

   JSON Web Token (JWT) is a compact, URL-safe means of representing
   claims to be transferred between two parties.  The claims in a JWT
   are encoded as a JSON object that is used as the payload of a JSON
   Web Signature (JWS) structure or as the plaintext of a JSON Web
   Encryption (JWE) structure, enabling the claims to be digitally
   signed or integrity protected with a Message Authentication Code
   (MAC) and/or encrypted.

 

4.1.7. "jti" (JWT ID) Claim



   The "jti" (JWT ID) claim provides a unique identifier for the JWT.
   The identifier value MUST be assigned in a manner that ensures that
   there is a negligible probability that the same value will be
   accidentally assigned to a different data object; if the application
   uses multiple issuers, collisions MUST be prevented among values
   produced by different issuers as well.  The "jti" claim can be used
   to prevent the JWT from being replayed.  The "jti" value is a case-
   sensitive string.  Use of this claim is OPTIONAL.

 

以上是关于JSON Web Token (JWT) RFC7519的主要内容,如果未能解决你的问题,请参考以下文章

JSON Web Token (JWT) - Introduction

JWT -- JSON WEB TOKEN

JWT -- JSON WEB TOKEN

Json Web Token(JWT)

Json Web Token(JWT)详解

什么是 JWT -- JSON WEB TOKEN