10. IANA 考虑事项 (IANA Considerations)
10.1. JSON Web Token Claims 注册表
本规范在 IANA "JSON Web Token Claims" 注册表中注册以下声明.
10.1.1. 注册模板 (Registration Template)
Claim Name:
声明的名称, 为区分大小写的字符串.
Claim Description:
声明的简短描述.
Change Controller:
对于 Standards Track RFC, 填写 "IESG". 对其他情况, 给出负责方或组织的名称.
Specification Document(s):
定义该声明的文档引用.
10.1.2. 初始注册表内容 (Initial Registry Contents)
-
Claim Name: iss
Claim Description: Issuer
Change Controller: IESG
Specification Document(s): RFC 7519, Section 4.1.1 -
Claim Name: sub
Claim Description: Subject
Change Controller: IESG
Specification Document(s): RFC 7519, Section 4.1.2 -
Claim Name: aud
Claim Description: Audience
Change Controller: IESG
Specification Document(s): RFC 7519, Section 4.1.3 -
Claim Name: exp
Claim Description: Expiration Time
Change Controller: IESG
Specification Document(s): RFC 7519, Section 4.1.4 -
Claim Name: nbf
Claim Description: Not Before
Change Controller: IESG
Specification Document(s): RFC 7519, Section 4.1.5 -
Claim Name: iat
Claim Description: Issued At
Change Controller: IESG
Specification Document(s): RFC 7519, Section 4.1.6 -
Claim Name: jti
Claim Description: JWT ID
Change Controller: IESG
Specification Document(s): RFC 7519, Section 4.1.7
10.2. 子命名空间注册 (Sub-Namespace Registration)
10.2.1. 注册表内容 (Registry Contents)
本规范在 IANA "OAuth URI" 注册表中注册以下值:
URN: urn:ietf:params:oauth:token-type:jwt
Common Name: JSON Web Token (JWT) Token Type
Change Controller: IESG
Specification Document(s): RFC 7519, Section 9
10.3. 媒体类型注册 (Media Type Registration)
10.3.1. 注册表内容 (Registry Contents)
本节注册 "application/jwt" 媒体类型 [RFC2046], 可用于表示内容是 JWT.
Type name: application
Subtype name: jwt
Required parameters: N/A
Optional parameters: N/A
Encoding considerations: 8bit; JWT 值被编码为一系列 base64url 编码值 (其中一些值可以是空字符串), 并用句点 ('.') 字符分隔.
Security considerations: See RFC 7519, Section 11
Interoperability considerations: N/A
Published specification: RFC 7519
Applications that use this media type: OpenID Connect, Mozilla Persona, Salesforce, Google, Android, Windows Azure, Amazon Web Services, and others
Additional information:
- Magic number(s): N/A
- File extension(s): N/A
- Macintosh file type code(s): N/A
Person & email address to contact for further information: Michael B. Jones, [email protected]
Intended usage: COMMON
Restrictions on usage: none
Author: Michael B. Jones, [email protected]
Change controller: IESG
Provisional registration? No
10.4. 头部参数名称注册 (Header Parameter Names Registration)
10.4.1. 注册表内容 (Registry Contents)
本规范在 IANA "JSON Web Signature and Encryption Header Parameters" 注册表中注册以下头部参数名称:
Header Parameter Name: iss
Header Parameter Description: Issuer
Header Parameter Usage Location(s): JWE
Change Controller: IESG
Specification Document(s): RFC 7519, Section 5.3
Header Parameter Name: sub
Header Parameter Description: Subject
Header Parameter Usage Location(s): JWE
Change Controller: IESG
Specification Document(s): RFC 7519, Section 5.3
Header Parameter Name: aud
Header Parameter Description: Audience
Header Parameter Usage Location(s): JWE
Change Controller: IESG
Specification Document(s): RFC 7519, Section 5.3