10. IANA Considerations (IANA考虑事项)
10.1. JSON Web Token Claims Registry (JSON Web Token声明注册表)
本规范在IANA "JSON Web Token Claims" 注册表中注册以下声明。
10.1.1. Registration Template (注册模板)
Claim Name (声明名称):
声明的名称,区分大小写的字符串。
Claim Description (声明描述):
声明的简要描述。
Change Controller (变更控制者):
对于标准跟踪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 (JWT标识符)
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: 请参见RFC 7519第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等
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