代码之家  ›  专栏  ›  技术社区  ›  Max Koretskyi

是否所有JWT有效载荷键都被视为索赔?

jwt
  •  0
  • Max Koretskyi  · 技术社区  · 6 年前

    The standard claim

    表示为由声明名称和

    {
        "iss": "joe",
        "exp": 1300819380,
        "http://example.com/is_root": true
    }
    

    iss exp http://example.com/is_root registered claims http://example.com/is_根目录

    1 回复  |  直到 6 年前
        1
  •  2
  •   cassiomolin    6 年前

    RFC 7519 (重点是我的):

    3. JSON Web Token (JWT) Overview

    JWS和/或JWE结构。这个JSON对象是JWT声明集。 Section 4 of RFC 7159 ,json对象包括 […]

    iss exp registered claims http://example.com/is_root 也是一项索赔,但它没有在IANA登记。 JSON Web Token Claims registry


    .