Mercurial > hg > nginx-site
annotate xml/ru/docs/http/ngx_http_auth_jwt_module.xml @ 2016:e6de97d14f81
Documented the mirror module.
author | Yaroslav Zhuravlev <yar@nginx.com> |
---|---|
date | Fri, 04 Aug 2017 18:24:38 +0300 |
parents | a58b35cc0823 |
children | fee7627f6a5a |
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" |
1925
a58b35cc0823
Updated docs for the upcoming NGINX Plus release.
Ruslan Ermilov <ru@nginx.com>
parents:
1832
diff
changeset
|
12 rev="3"> |
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 |
1925
a58b35cc0823
Updated docs for the upcoming NGINX Plus release.
Ruslan Ermilov <ru@nginx.com>
parents:
1832
diff
changeset
|
100 <directive name="auth_jwt_header_set"> |
a58b35cc0823
Updated docs for the upcoming NGINX Plus release.
Ruslan Ermilov <ru@nginx.com>
parents:
1832
diff
changeset
|
101 <syntax><value>$переменная</value> <value>имя</value></syntax> |
a58b35cc0823
Updated docs for the upcoming NGINX Plus release.
Ruslan Ermilov <ru@nginx.com>
parents:
1832
diff
changeset
|
102 <default/> |
a58b35cc0823
Updated docs for the upcoming NGINX Plus release.
Ruslan Ermilov <ru@nginx.com>
parents:
1832
diff
changeset
|
103 <context>http</context> |
a58b35cc0823
Updated docs for the upcoming NGINX Plus release.
Ruslan Ermilov <ru@nginx.com>
parents:
1832
diff
changeset
|
104 <appeared-in>1.11.10</appeared-in> |
a58b35cc0823
Updated docs for the upcoming NGINX Plus release.
Ruslan Ermilov <ru@nginx.com>
parents:
1832
diff
changeset
|
105 |
a58b35cc0823
Updated docs for the upcoming NGINX Plus release.
Ruslan Ermilov <ru@nginx.com>
parents:
1832
diff
changeset
|
106 <para> |
a58b35cc0823
Updated docs for the upcoming NGINX Plus release.
Ruslan Ermilov <ru@nginx.com>
parents:
1832
diff
changeset
|
107 Устанавливает <value>переменную</value> в заданное |
a58b35cc0823
Updated docs for the upcoming NGINX Plus release.
Ruslan Ermilov <ru@nginx.com>
parents:
1832
diff
changeset
|
108 <value>имя</value> параметра заголовка JOSE. |
a58b35cc0823
Updated docs for the upcoming NGINX Plus release.
Ruslan Ermilov <ru@nginx.com>
parents:
1832
diff
changeset
|
109 </para> |
a58b35cc0823
Updated docs for the upcoming NGINX Plus release.
Ruslan Ermilov <ru@nginx.com>
parents:
1832
diff
changeset
|
110 |
a58b35cc0823
Updated docs for the upcoming NGINX Plus release.
Ruslan Ermilov <ru@nginx.com>
parents:
1832
diff
changeset
|
111 </directive> |
a58b35cc0823
Updated docs for the upcoming NGINX Plus release.
Ruslan Ermilov <ru@nginx.com>
parents:
1832
diff
changeset
|
112 |
a58b35cc0823
Updated docs for the upcoming NGINX Plus release.
Ruslan Ermilov <ru@nginx.com>
parents:
1832
diff
changeset
|
113 |
a58b35cc0823
Updated docs for the upcoming NGINX Plus release.
Ruslan Ermilov <ru@nginx.com>
parents:
1832
diff
changeset
|
114 <directive name="auth_jwt_claim_set"> |
a58b35cc0823
Updated docs for the upcoming NGINX Plus release.
Ruslan Ermilov <ru@nginx.com>
parents:
1832
diff
changeset
|
115 <syntax><value>$переменная</value> <value>имя</value></syntax> |
a58b35cc0823
Updated docs for the upcoming NGINX Plus release.
Ruslan Ermilov <ru@nginx.com>
parents:
1832
diff
changeset
|
116 <default/> |
a58b35cc0823
Updated docs for the upcoming NGINX Plus release.
Ruslan Ermilov <ru@nginx.com>
parents:
1832
diff
changeset
|
117 <context>http</context> |
a58b35cc0823
Updated docs for the upcoming NGINX Plus release.
Ruslan Ermilov <ru@nginx.com>
parents:
1832
diff
changeset
|
118 <appeared-in>1.11.10</appeared-in> |
a58b35cc0823
Updated docs for the upcoming NGINX Plus release.
Ruslan Ermilov <ru@nginx.com>
parents:
1832
diff
changeset
|
119 |
a58b35cc0823
Updated docs for the upcoming NGINX Plus release.
Ruslan Ermilov <ru@nginx.com>
parents:
1832
diff
changeset
|
120 <para> |
a58b35cc0823
Updated docs for the upcoming NGINX Plus release.
Ruslan Ermilov <ru@nginx.com>
parents:
1832
diff
changeset
|
121 Устанавливает <value>переменную</value> в заданное |
a58b35cc0823
Updated docs for the upcoming NGINX Plus release.
Ruslan Ermilov <ru@nginx.com>
parents:
1832
diff
changeset
|
122 <value>имя</value> параметра JWT claim. |
a58b35cc0823
Updated docs for the upcoming NGINX Plus release.
Ruslan Ermilov <ru@nginx.com>
parents:
1832
diff
changeset
|
123 </para> |
a58b35cc0823
Updated docs for the upcoming NGINX Plus release.
Ruslan Ermilov <ru@nginx.com>
parents:
1832
diff
changeset
|
124 |
a58b35cc0823
Updated docs for the upcoming NGINX Plus release.
Ruslan Ermilov <ru@nginx.com>
parents:
1832
diff
changeset
|
125 </directive> |
a58b35cc0823
Updated docs for the upcoming NGINX Plus release.
Ruslan Ermilov <ru@nginx.com>
parents:
1832
diff
changeset
|
126 |
a58b35cc0823
Updated docs for the upcoming NGINX Plus release.
Ruslan Ermilov <ru@nginx.com>
parents:
1832
diff
changeset
|
127 |
1763
a7974b8d2a23
Updated docs for the upcoming NGINX Plus release.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
128 <directive name="auth_jwt_key_file"> |
1832
c30d3557ec68
Translated the JWT module into Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
1831
diff
changeset
|
129 <syntax><value>файл</value></syntax> |
1763
a7974b8d2a23
Updated docs for the upcoming NGINX Plus release.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
130 <default/> |
a7974b8d2a23
Updated docs for the upcoming NGINX Plus release.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
131 <context>http</context> |
a7974b8d2a23
Updated docs for the upcoming NGINX Plus release.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
132 <context>server</context> |
a7974b8d2a23
Updated docs for the upcoming NGINX Plus release.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
133 <context>location</context> |
a7974b8d2a23
Updated docs for the upcoming NGINX Plus release.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
134 |
a7974b8d2a23
Updated docs for the upcoming NGINX Plus release.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
135 <para> |
1832
c30d3557ec68
Translated the JWT module into Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
1831
diff
changeset
|
136 Задаёт <value>файл</value> в формате |
1763
a7974b8d2a23
Updated docs for the upcoming NGINX Plus release.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
137 <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
|
138 для проверки подписи JWT. |
c30d3557ec68
Translated the JWT module into Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
1831
diff
changeset
|
139 В значении параметра допустимо использование переменных. |
1763
a7974b8d2a23
Updated docs for the upcoming NGINX Plus release.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
140 </para> |
a7974b8d2a23
Updated docs for the upcoming NGINX Plus release.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
141 |
a7974b8d2a23
Updated docs for the upcoming NGINX Plus release.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
142 </directive> |
a7974b8d2a23
Updated docs for the upcoming NGINX Plus release.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
143 |
a7974b8d2a23
Updated docs for the upcoming NGINX Plus release.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
144 </section> |
a7974b8d2a23
Updated docs for the upcoming NGINX Plus release.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
145 |
1831
b5e416ace4bf
Corrected style and variables description in auth_jwt.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
1763
diff
changeset
|
146 |
1832
c30d3557ec68
Translated the JWT module into Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
1831
diff
changeset
|
147 <section id="variables" name="Встроенные переменные"> |
1763
a7974b8d2a23
Updated docs for the upcoming NGINX Plus release.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
148 |
a7974b8d2a23
Updated docs for the upcoming NGINX Plus release.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
149 <para> |
1832
c30d3557ec68
Translated the JWT module into Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
1831
diff
changeset
|
150 Модуль <literal>ngx_http_auth_jwt_module</literal> |
1925
a58b35cc0823
Updated docs for the upcoming NGINX Plus release.
Ruslan Ermilov <ru@nginx.com>
parents:
1832
diff
changeset
|
151 поддерживает встроенные переменные: |
1763
a7974b8d2a23
Updated docs for the upcoming NGINX Plus release.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
152 </para> |
a7974b8d2a23
Updated docs for the upcoming NGINX Plus release.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
153 |
a7974b8d2a23
Updated docs for the upcoming NGINX Plus release.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
154 <para> |
1831
b5e416ace4bf
Corrected style and variables description in auth_jwt.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
1763
diff
changeset
|
155 <list type="tag" compact="yes"> |
1925
a58b35cc0823
Updated docs for the upcoming NGINX Plus release.
Ruslan Ermilov <ru@nginx.com>
parents:
1832
diff
changeset
|
156 <tag-name id="var_jwt_header_"><var>$jwt_header_</var><value>имя</value></tag-name> |
1763
a7974b8d2a23
Updated docs for the upcoming NGINX Plus release.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
157 <tag-desc> |
1925
a58b35cc0823
Updated docs for the upcoming NGINX Plus release.
Ruslan Ermilov <ru@nginx.com>
parents:
1832
diff
changeset
|
158 возвращает значение указанного |
a58b35cc0823
Updated docs for the upcoming NGINX Plus release.
Ruslan Ermilov <ru@nginx.com>
parents:
1832
diff
changeset
|
159 <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
|
160 </tag-desc> |
a7974b8d2a23
Updated docs for the upcoming NGINX Plus release.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
161 |
1925
a58b35cc0823
Updated docs for the upcoming NGINX Plus release.
Ruslan Ermilov <ru@nginx.com>
parents:
1832
diff
changeset
|
162 <tag-name id="var_jwt_claim_"><var>$jwt_claim_</var><value>имя</value></tag-name> |
1763
a7974b8d2a23
Updated docs for the upcoming NGINX Plus release.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
163 <tag-desc> |
1925
a58b35cc0823
Updated docs for the upcoming NGINX Plus release.
Ruslan Ermilov <ru@nginx.com>
parents:
1832
diff
changeset
|
164 возвращает значение указанной |
a58b35cc0823
Updated docs for the upcoming NGINX Plus release.
Ruslan Ermilov <ru@nginx.com>
parents:
1832
diff
changeset
|
165 <link url="https://tools.ietf.org/html/rfc7519#section-4">JWT claim</link> |
1763
a7974b8d2a23
Updated docs for the upcoming NGINX Plus release.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
166 </tag-desc> |
a7974b8d2a23
Updated docs for the upcoming NGINX Plus release.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
167 |
a7974b8d2a23
Updated docs for the upcoming NGINX Plus release.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
168 </list> |
a7974b8d2a23
Updated docs for the upcoming NGINX Plus release.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
169 </para> |
a7974b8d2a23
Updated docs for the upcoming NGINX Plus release.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
170 |
a7974b8d2a23
Updated docs for the upcoming NGINX Plus release.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
171 </section> |
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 </module> |