comparison xml/en/docs/http/ngx_http_auth_jwt_module.xml @ 2424:dd3ac7eefeed

Updated docs for the upcoming NGINX Plus release.
author Ruslan Ermilov <ru@nginx.com>
date Mon, 02 Sep 2019 14:12:20 +0300
parents 183c16ce60d0
children 1f2bd0d9a06c
comparison
equal deleted inserted replaced
2423:21f1376238b0 2424:dd3ac7eefeed
7 <!DOCTYPE module SYSTEM "../../../../dtd/module.dtd"> 7 <!DOCTYPE module SYSTEM "../../../../dtd/module.dtd">
8 8
9 <module name="Module ngx_http_auth_jwt_module" 9 <module name="Module ngx_http_auth_jwt_module"
10 link="/en/docs/http/ngx_http_auth_jwt_module.html" 10 link="/en/docs/http/ngx_http_auth_jwt_module.html"
11 lang="en" 11 lang="en"
12 rev="9"> 12 rev="10">
13 13
14 <section id="summary"> 14 <section id="summary">
15 15
16 <para> 16 <para>
17 The <literal>ngx_http_auth_jwt_module</literal> module (1.11.3) 17 The <literal>ngx_http_auth_jwt_module</literal> module (1.11.3)
138 Sets the <value>variable</value> to a JWT claim parameter 138 Sets the <value>variable</value> to a JWT claim parameter
139 identified by key names. 139 identified by key names.
140 Name matching starts from the top level of the JSON tree. 140 Name matching starts from the top level of the JSON tree.
141 For arrays, the variable keeps a list of array elements separated by commas. 141 For arrays, the variable keeps a list of array elements separated by commas.
142 <example> 142 <example>
143 location / { 143 auth_jwt_claim_set $email info e-mail;
144 auth_jwt "closed site"; 144 auth_jwt_claim_set $job info "job title";
145 auth_jwt_key_file conf/keys.json;
146 auth_jwt_claim_set $email info e-mail;
147 auth_jwt_claim_set $job info "job title";
148 }
149 </example> 145 </example>
150 <note> 146 <note>
151 Prior to version 1.13.7, only one key name could be specified, 147 Prior to version 1.13.7, only one key name could be specified,
152 and the result was undefined for arrays. 148 and the result was undefined for arrays.
153 </note> 149 </note>