Mercurial > hg > nginx-site
changeset 2408:183c16ce60d0
Added info about nested claims and claims with a dot to $jwt_claim_name.
author | Yaroslav Zhuravlev <yar@nginx.com> |
---|---|
date | Mon, 08 Jul 2019 19:27:43 +0300 |
parents | bd01d2a342b9 |
children | 3bc28d88f34e |
files | xml/en/docs/http/ngx_http_auth_jwt_module.xml xml/ru/docs/http/ngx_http_auth_jwt_module.xml |
diffstat | 2 files changed, 14 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/xml/en/docs/http/ngx_http_auth_jwt_module.xml +++ b/xml/en/docs/http/ngx_http_auth_jwt_module.xml @@ -9,7 +9,7 @@ <module name="Module ngx_http_auth_jwt_module" link="/en/docs/http/ngx_http_auth_jwt_module.html" lang="en" - rev="8"> + rev="9"> <section id="summary"> @@ -274,6 +274,12 @@ returns the value of a specified <tag-desc> returns the value of a specified <link url="https://tools.ietf.org/html/rfc7519#section-4">JWT claim</link> + +<para> +For nested claims and claims including a dot (“.”), +the value of the variable cannot be evaluated; +the <link id="auth_jwt_claim_set"/> directive should be used instead. +</para> </tag-desc> </list>
--- a/xml/ru/docs/http/ngx_http_auth_jwt_module.xml +++ b/xml/ru/docs/http/ngx_http_auth_jwt_module.xml @@ -9,7 +9,7 @@ <module name="Модуль ngx_http_auth_jwt_module" link="/ru/docs/http/ngx_http_auth_jwt_module.html" lang="ru" - rev="8"> + rev="9"> <section id="summary"> @@ -271,6 +271,12 @@ server { <tag-desc> возвращает значение указанной <link url="https://tools.ietf.org/html/rfc7519#section-4">JWT claim</link> + +<para> +Для вложенных claim, а также claim, содержащих точку (“.”), +значение переменной вычислить невозможно, +следует использовать директиву <link id="auth_jwt_claim_set"/>. +</para> </tag-desc> </list>