Mercurial > hg > nginx-site
annotate xml/ru/docs/http/ngx_http_auth_jwt_module.xml @ 1917:c0c79991342b
"Mastering NGINX" book replaced by its second edition.
author | Maxim Konovalov <maxim@nginx.com> |
---|---|
date | Thu, 23 Feb 2017 10:39:36 +0000 |
parents | c30d3557ec68 |
children | a58b35cc0823 |
rev | line source |
---|---|
1763
a7974b8d2a23
Updated docs for the upcoming NGINX Plus release.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
1 <?xml version="1.0"?> |
a7974b8d2a23
Updated docs for the upcoming NGINX Plus release.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
2 |
a7974b8d2a23
Updated docs for the upcoming NGINX Plus release.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
3 <!-- |
a7974b8d2a23
Updated docs for the upcoming NGINX Plus release.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
4 Copyright (C) Nginx, Inc. |
a7974b8d2a23
Updated docs for the upcoming NGINX Plus release.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
5 --> |
a7974b8d2a23
Updated docs for the upcoming NGINX Plus release.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
6 |
a7974b8d2a23
Updated docs for the upcoming NGINX Plus release.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
7 <!DOCTYPE module SYSTEM "../../../../dtd/module.dtd"> |
a7974b8d2a23
Updated docs for the upcoming NGINX Plus release.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
8 |
1832
c30d3557ec68
Translated the JWT module into Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
1831
diff
changeset
|
9 <module name="Модуль ngx_http_auth_jwt_module" |
c30d3557ec68
Translated the JWT module into Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
1831
diff
changeset
|
10 link="/ru/docs/http/ngx_http_auth_jwt_module.html" |
c30d3557ec68
Translated the JWT module into Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
1831
diff
changeset
|
11 lang="ru" |
1831
b5e416ace4bf
Corrected style and variables description in auth_jwt.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
1763
diff
changeset
|
12 rev="2"> |
1763
a7974b8d2a23
Updated docs for the upcoming NGINX Plus release.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
13 |
a7974b8d2a23
Updated docs for the upcoming NGINX Plus release.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
14 <section id="summary"> |
a7974b8d2a23
Updated docs for the upcoming NGINX Plus release.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
15 |
a7974b8d2a23
Updated docs for the upcoming NGINX Plus release.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
16 <para> |
1832
c30d3557ec68
Translated the JWT module into Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
1831
diff
changeset
|
17 Модуль <literal>ngx_http_auth_jwt_module</literal> (1.11.3) |
c30d3557ec68
Translated the JWT module into Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
1831
diff
changeset
|
18 предоставляет возможность авторизации клиента с проверкой предоставляемого |
1763
a7974b8d2a23
Updated docs for the upcoming NGINX Plus release.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
19 <link url="https://tools.ietf.org/html/rfc7519">JSON Web Token</link> (JWT) |
1832
c30d3557ec68
Translated the JWT module into Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
1831
diff
changeset
|
20 при помощи указанных ключей. |
c30d3557ec68
Translated the JWT module into Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
1831
diff
changeset
|
21 JWT claims должны быть зашифрованы в структуре |
c30d3557ec68
Translated the JWT module into Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
1831
diff
changeset
|
22 <link url="https://tools.ietf.org/html/rfc7515">JSON Web Signature</link> (JWS). |
c30d3557ec68
Translated the JWT module into Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
1831
diff
changeset
|
23 Модуль может использоваться для настройки аутентификации |
c30d3557ec68
Translated the JWT module into Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
1831
diff
changeset
|
24 <link url="http://openid.net/specs/openid-connect-core-1_0.html">OpenID Connect</link>. |
1763
a7974b8d2a23
Updated docs for the upcoming NGINX Plus release.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
25 </para> |
a7974b8d2a23
Updated docs for the upcoming NGINX Plus release.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
26 |
a7974b8d2a23
Updated docs for the upcoming NGINX Plus release.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
27 <para> |
1832
c30d3557ec68
Translated the JWT module into Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
1831
diff
changeset
|
28 Модуль может быть скомбинирован с |
c30d3557ec68
Translated the JWT module into Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
1831
diff
changeset
|
29 другими модулями доступа, такими как |
1763
a7974b8d2a23
Updated docs for the upcoming NGINX Plus release.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
30 <link doc="ngx_http_access_module.xml">ngx_http_access_module</link>, |
1832
c30d3557ec68
Translated the JWT module into Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
1831
diff
changeset
|
31 <link doc="ngx_http_auth_basic_module.xml">ngx_http_auth_basic_module</link> |
c30d3557ec68
Translated the JWT module into Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
1831
diff
changeset
|
32 и |
c30d3557ec68
Translated the JWT module into Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
1831
diff
changeset
|
33 <link doc="ngx_http_auth_request_module.xml">ngx_http_auth_request_module</link> |
c30d3557ec68
Translated the JWT module into Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
1831
diff
changeset
|
34 с помощью директивы <link doc="ngx_http_core_module.xml" id="satisfy"/>. |
1763
a7974b8d2a23
Updated docs for the upcoming NGINX Plus release.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
35 </para> |
a7974b8d2a23
Updated docs for the upcoming NGINX Plus release.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
36 |
a7974b8d2a23
Updated docs for the upcoming NGINX Plus release.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
37 <para> |
a7974b8d2a23
Updated docs for the upcoming NGINX Plus release.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
38 <note> |
1832
c30d3557ec68
Translated the JWT module into Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
1831
diff
changeset
|
39 Модуль доступен как часть |
c30d3557ec68
Translated the JWT module into Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
1831
diff
changeset
|
40 <commercial_version>коммерческой подписки</commercial_version>. |
1763
a7974b8d2a23
Updated docs for the upcoming NGINX Plus release.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
41 </note> |
a7974b8d2a23
Updated docs for the upcoming NGINX Plus release.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
42 </para> |
a7974b8d2a23
Updated docs for the upcoming NGINX Plus release.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
43 |
a7974b8d2a23
Updated docs for the upcoming NGINX Plus release.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
44 </section> |
a7974b8d2a23
Updated docs for the upcoming NGINX Plus release.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
45 |
a7974b8d2a23
Updated docs for the upcoming NGINX Plus release.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
46 |
1832
c30d3557ec68
Translated the JWT module into Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
1831
diff
changeset
|
47 <section id="example" name="Пример конфигурации"> |
1763
a7974b8d2a23
Updated docs for the upcoming NGINX Plus release.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
48 |
a7974b8d2a23
Updated docs for the upcoming NGINX Plus release.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
49 <para> |
a7974b8d2a23
Updated docs for the upcoming NGINX Plus release.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
50 <example> |
a7974b8d2a23
Updated docs for the upcoming NGINX Plus release.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
51 location / { |
a7974b8d2a23
Updated docs for the upcoming NGINX Plus release.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
52 auth_jwt "closed site"; |
a7974b8d2a23
Updated docs for the upcoming NGINX Plus release.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
53 auth_jwt_key_file conf/keys.json; |
a7974b8d2a23
Updated docs for the upcoming NGINX Plus release.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
54 } |
a7974b8d2a23
Updated docs for the upcoming NGINX Plus release.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
55 </example> |
a7974b8d2a23
Updated docs for the upcoming NGINX Plus release.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
56 </para> |
a7974b8d2a23
Updated docs for the upcoming NGINX Plus release.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
57 |
a7974b8d2a23
Updated docs for the upcoming NGINX Plus release.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
58 </section> |
a7974b8d2a23
Updated docs for the upcoming NGINX Plus release.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
59 |
a7974b8d2a23
Updated docs for the upcoming NGINX Plus release.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
60 |
1832
c30d3557ec68
Translated the JWT module into Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
1831
diff
changeset
|
61 <section id="directives" name="Директивы"> |
1763
a7974b8d2a23
Updated docs for the upcoming NGINX Plus release.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
62 |
a7974b8d2a23
Updated docs for the upcoming NGINX Plus release.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
63 <directive name="auth_jwt"> |
1831
b5e416ace4bf
Corrected style and variables description in auth_jwt.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
1763
diff
changeset
|
64 <syntax> |
1832
c30d3557ec68
Translated the JWT module into Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
1831
diff
changeset
|
65 <value>строка</value> |
c30d3557ec68
Translated the JWT module into Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
1831
diff
changeset
|
66 [<literal>token=</literal><value>$переменная</value>] | |
1831
b5e416ace4bf
Corrected style and variables description in auth_jwt.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
1763
diff
changeset
|
67 <literal>off</literal></syntax> |
1763
a7974b8d2a23
Updated docs for the upcoming NGINX Plus release.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
68 <default>off</default> |
a7974b8d2a23
Updated docs for the upcoming NGINX Plus release.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
69 <context>http</context> |
a7974b8d2a23
Updated docs for the upcoming NGINX Plus release.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
70 <context>server</context> |
a7974b8d2a23
Updated docs for the upcoming NGINX Plus release.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
71 <context>location</context> |
a7974b8d2a23
Updated docs for the upcoming NGINX Plus release.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
72 |
a7974b8d2a23
Updated docs for the upcoming NGINX Plus release.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
73 <para> |
1832
c30d3557ec68
Translated the JWT module into Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
1831
diff
changeset
|
74 Включает проверку JSON Web Token. |
c30d3557ec68
Translated the JWT module into Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
1831
diff
changeset
|
75 Заданная <value>строка</value> используется в качестве <literal>realm</literal>. |
c30d3557ec68
Translated the JWT module into Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
1831
diff
changeset
|
76 В значении параметра допустимо использование переменных. |
1763
a7974b8d2a23
Updated docs for the upcoming NGINX Plus release.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
77 </para> |
a7974b8d2a23
Updated docs for the upcoming NGINX Plus release.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
78 |
a7974b8d2a23
Updated docs for the upcoming NGINX Plus release.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
79 <para> |
1832
c30d3557ec68
Translated the JWT module into Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
1831
diff
changeset
|
80 Необязательный параметр <literal>token</literal> задаёт переменную, |
c30d3557ec68
Translated the JWT module into Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
1831
diff
changeset
|
81 содержащую JSON Web Token. |
c30d3557ec68
Translated the JWT module into Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
1831
diff
changeset
|
82 По умолчанию JWT передаётся в заголовке <header>Authorization</header> |
c30d3557ec68
Translated the JWT module into Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
1831
diff
changeset
|
83 в качестве |
1763
a7974b8d2a23
Updated docs for the upcoming NGINX Plus release.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
84 <link url="https://tools.ietf.org/html/rfc6750">Bearer Token</link>. |
1832
c30d3557ec68
Translated the JWT module into Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
1831
diff
changeset
|
85 JWT может также передаваться как кука или часть строки запроса: |
1763
a7974b8d2a23
Updated docs for the upcoming NGINX Plus release.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
86 <example> |
a7974b8d2a23
Updated docs for the upcoming NGINX Plus release.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
87 auth_jwt "closed site" token=$cookie_auth_token; |
a7974b8d2a23
Updated docs for the upcoming NGINX Plus release.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
88 </example> |
a7974b8d2a23
Updated docs for the upcoming NGINX Plus release.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
89 </para> |
a7974b8d2a23
Updated docs for the upcoming NGINX Plus release.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
90 |
a7974b8d2a23
Updated docs for the upcoming NGINX Plus release.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
91 <para> |
1832
c30d3557ec68
Translated the JWT module into Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
1831
diff
changeset
|
92 Специальное значение <literal>off</literal> отменяет действие |
c30d3557ec68
Translated the JWT module into Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
1831
diff
changeset
|
93 унаследованной с предыдущего уровня конфигурации |
c30d3557ec68
Translated the JWT module into Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
1831
diff
changeset
|
94 директивы <literal>auth_jwt</literal>. |
1763
a7974b8d2a23
Updated docs for the upcoming NGINX Plus release.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
95 </para> |
a7974b8d2a23
Updated docs for the upcoming NGINX Plus release.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
96 |
a7974b8d2a23
Updated docs for the upcoming NGINX Plus release.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
97 </directive> |
a7974b8d2a23
Updated docs for the upcoming NGINX Plus release.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
98 |
a7974b8d2a23
Updated docs for the upcoming NGINX Plus release.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
99 |
a7974b8d2a23
Updated docs for the upcoming NGINX Plus release.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
100 <directive name="auth_jwt_key_file"> |
1832
c30d3557ec68
Translated the JWT module into Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
1831
diff
changeset
|
101 <syntax><value>файл</value></syntax> |
1763
a7974b8d2a23
Updated docs for the upcoming NGINX Plus release.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
102 <default/> |
a7974b8d2a23
Updated docs for the upcoming NGINX Plus release.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
103 <context>http</context> |
a7974b8d2a23
Updated docs for the upcoming NGINX Plus release.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
104 <context>server</context> |
a7974b8d2a23
Updated docs for the upcoming NGINX Plus release.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
105 <context>location</context> |
a7974b8d2a23
Updated docs for the upcoming NGINX Plus release.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
106 |
a7974b8d2a23
Updated docs for the upcoming NGINX Plus release.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
107 <para> |
1832
c30d3557ec68
Translated the JWT module into Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
1831
diff
changeset
|
108 Задаёт <value>файл</value> в формате |
1763
a7974b8d2a23
Updated docs for the upcoming NGINX Plus release.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
109 <link url="https://tools.ietf.org/html/rfc7517#section-5">JSON Web Key Set</link> |
1832
c30d3557ec68
Translated the JWT module into Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
1831
diff
changeset
|
110 для проверки подписи JWT. |
c30d3557ec68
Translated the JWT module into Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
1831
diff
changeset
|
111 В значении параметра допустимо использование переменных. |
1763
a7974b8d2a23
Updated docs for the upcoming NGINX Plus release.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
112 </para> |
a7974b8d2a23
Updated docs for the upcoming NGINX Plus release.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
113 |
a7974b8d2a23
Updated docs for the upcoming NGINX Plus release.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
114 </directive> |
a7974b8d2a23
Updated docs for the upcoming NGINX Plus release.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
115 |
a7974b8d2a23
Updated docs for the upcoming NGINX Plus release.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
116 </section> |
a7974b8d2a23
Updated docs for the upcoming NGINX Plus release.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
117 |
1831
b5e416ace4bf
Corrected style and variables description in auth_jwt.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
1763
diff
changeset
|
118 |
1832
c30d3557ec68
Translated the JWT module into Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
1831
diff
changeset
|
119 <section id="variables" name="Встроенные переменные"> |
1763
a7974b8d2a23
Updated docs for the upcoming NGINX Plus release.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
120 |
a7974b8d2a23
Updated docs for the upcoming NGINX Plus release.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
121 <para> |
1832
c30d3557ec68
Translated the JWT module into Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
1831
diff
changeset
|
122 Модуль <literal>ngx_http_auth_jwt_module</literal> |
c30d3557ec68
Translated the JWT module into Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
1831
diff
changeset
|
123 поддерживает встроенные переменные. |
1763
a7974b8d2a23
Updated docs for the upcoming NGINX Plus release.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
124 </para> |
a7974b8d2a23
Updated docs for the upcoming NGINX Plus release.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
125 |
a7974b8d2a23
Updated docs for the upcoming NGINX Plus release.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
126 <para> |
1832
c30d3557ec68
Translated the JWT module into Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
1831
diff
changeset
|
127 Переменные, возвращающие |
1763
a7974b8d2a23
Updated docs for the upcoming NGINX Plus release.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
128 <link url="https://tools.ietf.org/html/rfc7519#section-4">JWT claims</link>: |
a7974b8d2a23
Updated docs for the upcoming NGINX Plus release.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
129 |
1831
b5e416ace4bf
Corrected style and variables description in auth_jwt.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
1763
diff
changeset
|
130 <list type="tag" compact="yes"> |
1763
a7974b8d2a23
Updated docs for the upcoming NGINX Plus release.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
131 <tag-name id="var_jwt_claim_aud"><var>$jwt_claim_aud</var></tag-name> |
a7974b8d2a23
Updated docs for the upcoming NGINX Plus release.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
132 <tag-desc> |
1832
c30d3557ec68
Translated the JWT module into Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
1831
diff
changeset
|
133 audience (аудитория) |
1763
a7974b8d2a23
Updated docs for the upcoming NGINX Plus release.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
134 </tag-desc> |
a7974b8d2a23
Updated docs for the upcoming NGINX Plus release.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
135 |
a7974b8d2a23
Updated docs for the upcoming NGINX Plus release.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
136 <tag-name id="var_jwt_claim_email"><var>$jwt_claim_email</var></tag-name> |
a7974b8d2a23
Updated docs for the upcoming NGINX Plus release.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
137 <tag-desc> |
1831
b5e416ace4bf
Corrected style and variables description in auth_jwt.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
1763
diff
changeset
|
138 email |
1763
a7974b8d2a23
Updated docs for the upcoming NGINX Plus release.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
139 </tag-desc> |
a7974b8d2a23
Updated docs for the upcoming NGINX Plus release.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
140 |
a7974b8d2a23
Updated docs for the upcoming NGINX Plus release.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
141 <tag-name id="var_jwt_claim_exp"><var>$jwt_claim_exp</var></tag-name> |
a7974b8d2a23
Updated docs for the upcoming NGINX Plus release.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
142 <tag-desc> |
1832
c30d3557ec68
Translated the JWT module into Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
1831
diff
changeset
|
143 expiration time (время окончания действия) |
1763
a7974b8d2a23
Updated docs for the upcoming NGINX Plus release.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
144 </tag-desc> |
a7974b8d2a23
Updated docs for the upcoming NGINX Plus release.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
145 |
a7974b8d2a23
Updated docs for the upcoming NGINX Plus release.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
146 <tag-name id="var_jwt_claim_iat"><var>$jwt_claim_iat</var></tag-name> |
a7974b8d2a23
Updated docs for the upcoming NGINX Plus release.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
147 <tag-desc> |
1832
c30d3557ec68
Translated the JWT module into Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
1831
diff
changeset
|
148 issued at (когда выдан) |
1763
a7974b8d2a23
Updated docs for the upcoming NGINX Plus release.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
149 </tag-desc> |
a7974b8d2a23
Updated docs for the upcoming NGINX Plus release.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
150 |
a7974b8d2a23
Updated docs for the upcoming NGINX Plus release.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
151 <tag-name id="var_jwt_claim_iss"><var>$jwt_claim_iss</var></tag-name> |
a7974b8d2a23
Updated docs for the upcoming NGINX Plus release.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
152 <tag-desc> |
1832
c30d3557ec68
Translated the JWT module into Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
1831
diff
changeset
|
153 issuer (издатель) |
1763
a7974b8d2a23
Updated docs for the upcoming NGINX Plus release.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
154 </tag-desc> |
a7974b8d2a23
Updated docs for the upcoming NGINX Plus release.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
155 |
a7974b8d2a23
Updated docs for the upcoming NGINX Plus release.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
156 <tag-name id="var_jwt_claim_jti"><var>$jwt_claim_jti</var></tag-name> |
a7974b8d2a23
Updated docs for the upcoming NGINX Plus release.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
157 <tag-desc> |
1832
c30d3557ec68
Translated the JWT module into Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
1831
diff
changeset
|
158 JWT ID (идентификатор JWT) |
1763
a7974b8d2a23
Updated docs for the upcoming NGINX Plus release.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
159 </tag-desc> |
a7974b8d2a23
Updated docs for the upcoming NGINX Plus release.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
160 |
a7974b8d2a23
Updated docs for the upcoming NGINX Plus release.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
161 <tag-name id="var_jwt_claim_nbf"><var>$jwt_claim_nbf</var></tag-name> |
a7974b8d2a23
Updated docs for the upcoming NGINX Plus release.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
162 <tag-desc> |
1832
c30d3557ec68
Translated the JWT module into Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
1831
diff
changeset
|
163 not-before (не ранее, чем) |
1763
a7974b8d2a23
Updated docs for the upcoming NGINX Plus release.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
164 </tag-desc> |
a7974b8d2a23
Updated docs for the upcoming NGINX Plus release.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
165 |
a7974b8d2a23
Updated docs for the upcoming NGINX Plus release.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
166 <tag-name id="var_jwt_claim_sub"><var>$jwt_claim_sub</var></tag-name> |
a7974b8d2a23
Updated docs for the upcoming NGINX Plus release.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
167 <tag-desc> |
1832
c30d3557ec68
Translated the JWT module into Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
1831
diff
changeset
|
168 subject (субъект) |
1763
a7974b8d2a23
Updated docs for the upcoming NGINX Plus release.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
169 </tag-desc> |
a7974b8d2a23
Updated docs for the upcoming NGINX Plus release.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
170 </list> |
a7974b8d2a23
Updated docs for the upcoming NGINX Plus release.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
171 </para> |
a7974b8d2a23
Updated docs for the upcoming NGINX Plus release.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
172 |
a7974b8d2a23
Updated docs for the upcoming NGINX Plus release.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
173 <para> |
1832
c30d3557ec68
Translated the JWT module into Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
1831
diff
changeset
|
174 Переменные, возвращающие параметры |
c30d3557ec68
Translated the JWT module into Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
1831
diff
changeset
|
175 <link url="https://tools.ietf.org/html/rfc7515#section-4">заголовка JOSE</link>: |
1763
a7974b8d2a23
Updated docs for the upcoming NGINX Plus release.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
176 |
1831
b5e416ace4bf
Corrected style and variables description in auth_jwt.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
1763
diff
changeset
|
177 <list type="tag" compact="yes"> |
1763
a7974b8d2a23
Updated docs for the upcoming NGINX Plus release.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
178 <tag-name id="var_jwt_header_alg"><var>$jwt_header_alg</var></tag-name> |
a7974b8d2a23
Updated docs for the upcoming NGINX Plus release.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
179 <tag-desc> |
1832
c30d3557ec68
Translated the JWT module into Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
1831
diff
changeset
|
180 algorithm (алгоритм) |
1763
a7974b8d2a23
Updated docs for the upcoming NGINX Plus release.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
181 </tag-desc> |
a7974b8d2a23
Updated docs for the upcoming NGINX Plus release.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
182 |
a7974b8d2a23
Updated docs for the upcoming NGINX Plus release.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
183 <tag-name id="var_jwt_header_cty"><var>$jwt_header_cty</var></tag-name> |
a7974b8d2a23
Updated docs for the upcoming NGINX Plus release.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
184 <tag-desc> |
1832
c30d3557ec68
Translated the JWT module into Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
1831
diff
changeset
|
185 content type (тип содержимого) |
1763
a7974b8d2a23
Updated docs for the upcoming NGINX Plus release.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
186 </tag-desc> |
a7974b8d2a23
Updated docs for the upcoming NGINX Plus release.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
187 |
a7974b8d2a23
Updated docs for the upcoming NGINX Plus release.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
188 <tag-name id="var_jwt_header_enc"><var>$jwt_header_enc</var></tag-name> |
a7974b8d2a23
Updated docs for the upcoming NGINX Plus release.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
189 <tag-desc> |
1832
c30d3557ec68
Translated the JWT module into Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
1831
diff
changeset
|
190 encryption algorithm (алгоритм шифрования) |
1763
a7974b8d2a23
Updated docs for the upcoming NGINX Plus release.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
191 </tag-desc> |
a7974b8d2a23
Updated docs for the upcoming NGINX Plus release.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
192 |
a7974b8d2a23
Updated docs for the upcoming NGINX Plus release.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
193 <tag-name id="var_jwt_header_kid"><var>$jwt_header_kid</var></tag-name> |
a7974b8d2a23
Updated docs for the upcoming NGINX Plus release.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
194 <tag-desc> |
1832
c30d3557ec68
Translated the JWT module into Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
1831
diff
changeset
|
195 key ID (идентификатор ключа) |
1763
a7974b8d2a23
Updated docs for the upcoming NGINX Plus release.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
196 </tag-desc> |
a7974b8d2a23
Updated docs for the upcoming NGINX Plus release.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
197 |
a7974b8d2a23
Updated docs for the upcoming NGINX Plus release.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
198 <tag-name id="var_jwt_header_typ"><var>$jwt_header_typ</var></tag-name> |
a7974b8d2a23
Updated docs for the upcoming NGINX Plus release.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
199 <tag-desc> |
1832
c30d3557ec68
Translated the JWT module into Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
1831
diff
changeset
|
200 type (тип) |
1763
a7974b8d2a23
Updated docs for the upcoming NGINX Plus release.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
201 </tag-desc> |
a7974b8d2a23
Updated docs for the upcoming NGINX Plus release.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
202 |
a7974b8d2a23
Updated docs for the upcoming NGINX Plus release.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
203 </list> |
a7974b8d2a23
Updated docs for the upcoming NGINX Plus release.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
204 </para> |
a7974b8d2a23
Updated docs for the upcoming NGINX Plus release.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
205 |
a7974b8d2a23
Updated docs for the upcoming NGINX Plus release.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
206 </section> |
a7974b8d2a23
Updated docs for the upcoming NGINX Plus release.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
207 |
a7974b8d2a23
Updated docs for the upcoming NGINX Plus release.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
208 </module> |