# HG changeset patch # User Yaroslav Zhuravlev # Date 1477396907 -10800 # Node ID b5e416ace4bf403979cd194a3bb81d2e3e6f491b # Parent 6ebdef43330ae0be1712788b81c5ace7a6334cf5 Corrected style and variables description in auth_jwt. diff -r 6ebdef43330a -r b5e416ace4bf xml/en/docs/http/ngx_http_auth_jwt_module.xml --- a/xml/en/docs/http/ngx_http_auth_jwt_module.xml Tue Oct 25 19:52:33 2016 +0300 +++ b/xml/en/docs/http/ngx_http_auth_jwt_module.xml Tue Oct 25 15:01:47 2016 +0300 @@ -9,7 +9,7 @@ + rev="2">
@@ -63,8 +63,10 @@
-string [token=$variable] | -off + + string + [token=$variable] | + off off http server @@ -77,7 +79,7 @@ -The optional token argument specifies a variable +The optional token parameter specifies a variable that contains JSON Web Token. By default, JWT is passed in the
Authorization
header as a @@ -115,6 +117,7 @@
+
@@ -126,45 +129,45 @@ Variables that return JWT claims: - + $jwt_claim_aud -the aud (audience) claim +audience $jwt_claim_email -the email claim +email $jwt_claim_exp -the exp (expiration time) claim +expiration time $jwt_claim_iat -the iat (issued at) claim +issued at $jwt_claim_iss -the issuer of the claim +issuer $jwt_claim_jti -the JWT ID +JWT ID $jwt_claim_nbf -the nbf (not-before time) claim +not-before $jwt_claim_sub -the subject of the JWT +subject @@ -173,30 +176,30 @@ Variables that return parameters of JOSE header: - + $jwt_header_alg -the alg (algorithm) header parameter +algorithm $jwt_header_cty -the cty (content type) header parameter +content type $jwt_header_enc -the enc (encryption algorithm) header parameter +encryption algorithm $jwt_header_kid -the kid (key ID) header parameter +key ID $jwt_header_typ -the typ (type) header parameter +type