@bymax-one/nest-auth 1.5.8 → 1.5.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +125 -1
- package/README.md +13 -1
- package/dist/server/index.cjs +670 -173
- package/dist/server/index.d.cts +4 -4
- package/dist/server/index.d.ts +4 -4
- package/dist/server/index.mjs +670 -173
- package/package.json +1 -1
package/dist/server/index.d.cts
CHANGED
|
@@ -1094,7 +1094,7 @@ interface BymaxAuthModuleOptions {
|
|
|
1094
1094
|
*/
|
|
1095
1095
|
blockSize?: number;
|
|
1096
1096
|
/**
|
|
1097
|
-
* scrypt parallelization parameter (p)
|
|
1097
|
+
* scrypt parallelization parameter (p), a whole number from `1` to `16`.
|
|
1098
1098
|
* Default: `1`
|
|
1099
1099
|
*/
|
|
1100
1100
|
parallelization?: number;
|
|
@@ -1335,7 +1335,7 @@ interface BymaxAuthModuleOptions {
|
|
|
1335
1335
|
*/
|
|
1336
1336
|
enabled?: boolean;
|
|
1337
1337
|
/**
|
|
1338
|
-
* Default maximum number of concurrent sessions per user
|
|
1338
|
+
* Default maximum number of concurrent sessions per user, a whole number from `1` to `1000`.
|
|
1339
1339
|
* Default: `5`. When `maxSessionsResolver` is provided, this value is ignored.
|
|
1340
1340
|
*/
|
|
1341
1341
|
defaultMaxSessions?: number;
|
|
@@ -1640,8 +1640,8 @@ interface BymaxAuthModuleOptions {
|
|
|
1640
1640
|
*/
|
|
1641
1641
|
controllers?: ControllerFlags;
|
|
1642
1642
|
/**
|
|
1643
|
-
* TTL in seconds for the user status Redis cache
|
|
1644
|
-
*
|
|
1643
|
+
* TTL in seconds for the user status Redis cache, a whole number from `1` to `3600`: it is how
|
|
1644
|
+
* long a suspended account keeps passing the guards. Cached per user to skip a query per request.
|
|
1645
1645
|
* Default: `60`
|
|
1646
1646
|
*/
|
|
1647
1647
|
userStatusCacheTtlSeconds?: number;
|
package/dist/server/index.d.ts
CHANGED
|
@@ -1094,7 +1094,7 @@ interface BymaxAuthModuleOptions {
|
|
|
1094
1094
|
*/
|
|
1095
1095
|
blockSize?: number;
|
|
1096
1096
|
/**
|
|
1097
|
-
* scrypt parallelization parameter (p)
|
|
1097
|
+
* scrypt parallelization parameter (p), a whole number from `1` to `16`.
|
|
1098
1098
|
* Default: `1`
|
|
1099
1099
|
*/
|
|
1100
1100
|
parallelization?: number;
|
|
@@ -1335,7 +1335,7 @@ interface BymaxAuthModuleOptions {
|
|
|
1335
1335
|
*/
|
|
1336
1336
|
enabled?: boolean;
|
|
1337
1337
|
/**
|
|
1338
|
-
* Default maximum number of concurrent sessions per user
|
|
1338
|
+
* Default maximum number of concurrent sessions per user, a whole number from `1` to `1000`.
|
|
1339
1339
|
* Default: `5`. When `maxSessionsResolver` is provided, this value is ignored.
|
|
1340
1340
|
*/
|
|
1341
1341
|
defaultMaxSessions?: number;
|
|
@@ -1640,8 +1640,8 @@ interface BymaxAuthModuleOptions {
|
|
|
1640
1640
|
*/
|
|
1641
1641
|
controllers?: ControllerFlags;
|
|
1642
1642
|
/**
|
|
1643
|
-
* TTL in seconds for the user status Redis cache
|
|
1644
|
-
*
|
|
1643
|
+
* TTL in seconds for the user status Redis cache, a whole number from `1` to `3600`: it is how
|
|
1644
|
+
* long a suspended account keeps passing the guards. Cached per user to skip a query per request.
|
|
1645
1645
|
* Default: `60`
|
|
1646
1646
|
*/
|
|
1647
1647
|
userStatusCacheTtlSeconds?: number;
|