Mercurial > hg > nginx-site
diff xml/en/docs/http/ngx_http_auth_jwt_module.xml @ 2142:ca7568f67dee
Sorted directives alphabetically.
author | Ruslan Ermilov <ru@nginx.com> |
---|---|
date | Tue, 10 Apr 2018 18:39:34 +0300 |
parents | f6e578b1b02d |
children | 231cad90a823 |
line wrap: on
line diff
--- a/xml/en/docs/http/ngx_http_auth_jwt_module.xml Tue Apr 10 17:16:38 2018 +0300 +++ b/xml/en/docs/http/ngx_http_auth_jwt_module.xml Tue Apr 10 18:39:34 2018 +0300 @@ -124,26 +124,6 @@ </directive> -<directive name="auth_jwt_header_set"> -<syntax><value>$variable</value> <value>name</value> ...</syntax> -<default/> -<context>http</context> -<appeared-in>1.11.10</appeared-in> - -<para> -Sets the <value>variable</value> to a JOSE header parameter -identified by key names. -Name matching starts from the top level of the JSON tree. -For arrays, the variable keeps a list of array elements separated by commas. -<note> -Prior to version 1.13.7, only one key name could be specified, -and the result was undefined for arrays. -</note> -</para> - -</directive> - - <directive name="auth_jwt_claim_set"> <syntax><value>$variable</value> <value>name</value> ...</syntax> <default/> @@ -172,21 +152,21 @@ </directive> -<directive name="auth_jwt_leeway"> -<syntax><value>time</value></syntax> -<default>0s</default> +<directive name="auth_jwt_header_set"> +<syntax><value>$variable</value> <value>name</value> ...</syntax> +<default/> <context>http</context> -<context>server</context> -<context>location</context> -<appeared-in>1.13.11</appeared-in> +<appeared-in>1.11.10</appeared-in> <para> -Sets the maximum allowable leeway to compensate -clock skew when verifying the -<link url="https://tools.ietf.org/html/rfc7519#section-4.1.4">exp</link> -and -<link url="https://tools.ietf.org/html/rfc7519#section-4.1.5">nbf</link> -JWT claims. +Sets the <value>variable</value> to a JOSE header parameter +identified by key names. +Name matching starts from the top level of the JSON tree. +For arrays, the variable keeps a list of array elements separated by commas. +<note> +Prior to version 1.13.7, only one key name could be specified, +and the result was undefined for arrays. +</note> </para> </directive> @@ -209,6 +189,26 @@ </directive> + +<directive name="auth_jwt_leeway"> +<syntax><value>time</value></syntax> +<default>0s</default> +<context>http</context> +<context>server</context> +<context>location</context> +<appeared-in>1.13.11</appeared-in> + +<para> +Sets the maximum allowable leeway to compensate +clock skew when verifying the +<link url="https://tools.ietf.org/html/rfc7519#section-4.1.4">exp</link> +and +<link url="https://tools.ietf.org/html/rfc7519#section-4.1.5">nbf</link> +JWT claims. +</para> + +</directive> + </section>