Browse Source

jwt: docs - updates for key_mode parameter

Daniel-Constantin Mierla 4 years ago
parent
commit
e19cb103fd
1 changed files with 4 additions and 5 deletions
  1. 4 5
      src/modules/jwt/doc/jwt_admin.xml

+ 4 - 5
src/modules/jwt/doc/jwt_admin.xml

@@ -60,10 +60,9 @@
 	<section id="jwt.p.key_mode">
 		<title><varname>key_mode</varname> (int)</title>
 		<para>
-			Mode to store the private and public keys.
-		</para>
-		<para>
-			Work in progress.
+			Mode to use the private and public keys. If set to 0, they are read
+			always from the disk. If set to 1, they are cached in memory with
+			the first use (no reload support yet).
 		</para>
 		<para>
 		<emphasis>
@@ -74,7 +73,7 @@
 		<title>Set <varname>key_mode</varname> parameter</title>
 		<programlisting format="linespecific">
 ...
-modparam("jwt", "key_mode", 0)
+modparam("jwt", "key_mode", 1)
 ...
 </programlisting>
 		</example>