|
|
@@ -78,7 +78,7 @@ Sets the header property which will be used to send the auth token when using th
|
|
|
Session duration, i.e. the time which must elapse from the last authenticated request
|
|
|
after which the user must re-authenticate.
|
|
|
|
|
|
-Expressed as a string describing a time span per
|
|
|
+If passed as a number should represent milliseconds and if passed as a string describes a time span per
|
|
|
[zeit/ms](https://github.com/zeit/ms.js). Eg: `60`, `'2 days'`, `'10h'`, `'7d'`
|
|
|
### sessionCacheStrategy
|
|
|
|
|
|
@@ -89,11 +89,13 @@ in-memory caching strategy which is suitable for development and low-traffic, si
|
|
|
deployments.
|
|
|
### sessionCacheTTL
|
|
|
|
|
|
-<MemberInfo kind="property" type={`number`} default={`300`} />
|
|
|
+<MemberInfo kind="property" type={`string | number`} default={`300`} />
|
|
|
|
|
|
-The "time to live" of a given item in the session cache. This determines the length of time (in seconds)
|
|
|
-that a cache entry is kept before being considered "stale" and being replaced with fresh data
|
|
|
-taken from the database.
|
|
|
+The "time to live" of a given item in the session cache. This determines the length of time that a cache entry
|
|
|
+is kept before being considered "stale" and being replaced with fresh data taken from the database.
|
|
|
+
|
|
|
+If passed as a number should represent seconds and if passed as a string describes a time span per
|
|
|
+[zeit/ms](https://github.com/zeit/ms.js). Eg: `60`, `'2 days'`, `'10h'`, `'7d'`
|
|
|
### requireVerification
|
|
|
|
|
|
<MemberInfo kind="property" type={`boolean`} default={`true`} />
|
|
|
@@ -108,7 +110,7 @@ they receive in their email. See the `registerCustomerAccount` mutation for more
|
|
|
|
|
|
Sets the length of time that a verification token is valid for, after which the verification token must be refreshed.
|
|
|
|
|
|
-Expressed as a string describing a time span per
|
|
|
+If passed as a number should represent milliseconds and if passed as a string describes a time span per
|
|
|
[zeit/ms](https://github.com/zeit/ms.js). Eg: `60`, `'2 days'`, `'10h'`, `'7d'`
|
|
|
### superadminCredentials
|
|
|
|