@things-factory/auth-base 10.0.0-beta.57 → 10.0.0-beta.67
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.
|
@@ -1,5 +1,9 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.MAX_AGE = void 0;
|
|
4
|
-
|
|
4
|
+
const env_1 = require("@things-factory/env");
|
|
5
|
+
const DEFAULT_EXPIRY_SECONDS = 7 * 24 * 3600; // 기본값: 7일
|
|
6
|
+
/* 쿠키 만료 시간을 session config와 동기화 */
|
|
7
|
+
const sessionExpirySeconds = Number(env_1.config.get('session/expirySeconds')) || DEFAULT_EXPIRY_SECONDS;
|
|
8
|
+
exports.MAX_AGE = sessionExpirySeconds * 1000;
|
|
5
9
|
//# sourceMappingURL=max-age.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"max-age.js","sourceRoot":"","sources":["../../server/constants/max-age.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"max-age.js","sourceRoot":"","sources":["../../server/constants/max-age.ts"],"names":[],"mappings":";;;AAAA,6CAA4C;AAE5C,MAAM,sBAAsB,GAAG,CAAC,GAAG,EAAE,GAAG,IAAI,CAAA,CAAC,UAAU;AAEvD,mCAAmC;AACnC,MAAM,oBAAoB,GAAG,MAAM,CAAC,YAAM,CAAC,GAAG,CAAC,uBAAuB,CAAC,CAAC,IAAI,sBAAsB,CAAA;AACrF,QAAA,OAAO,GAAG,oBAAoB,GAAG,IAAI,CAAA","sourcesContent":["import { config } from '@things-factory/env'\n\nconst DEFAULT_EXPIRY_SECONDS = 7 * 24 * 3600 // 기본값: 7일\n\n/* 쿠키 만료 시간을 session config와 동기화 */\nconst sessionExpirySeconds = Number(config.get('session/expirySeconds')) || DEFAULT_EXPIRY_SECONDS\nexport const MAX_AGE = sessionExpirySeconds * 1000\n"]}
|
|
@@ -25,7 +25,7 @@ export * from './privilege/privilege-types.js';
|
|
|
25
25
|
export * from './role/role-types.js';
|
|
26
26
|
export * from './user/user-types.js';
|
|
27
27
|
export * from './domain-link/domain-link-types.js';
|
|
28
|
-
export declare const entities: (typeof import("./
|
|
28
|
+
export declare const entities: (typeof import("./web-auth-credential/web-auth-credential.js").WebAuthCredential | typeof import("./user/user.js").User | typeof import("./auth-provider/auth-provider.js").AuthProvider | typeof import("./users-auth-providers/users-auth-providers.js").UsersAuthProviders | typeof import("./role/role.js").Role | typeof import("./privilege/privilege.js").Privilege | typeof import("./domain-owner/domain-owner.js").DomainOwner | typeof import("./verification-token/verification-token.js").VerificationToken | typeof import("./verification-token/verification-token.js").VerificationTokenType | typeof import("./password-history/password-history.js").PasswordHistory | typeof import("./invitation/invitation.js").Invitation | typeof import("./application/application.js").Application | typeof import("./login-history/login-history.js").LoginHistory | typeof import("./appliance/appliance.js").Appliance | typeof import("./granted-role/granted-role.js").GrantedRole | typeof import("./partner/partner.js").Partner | typeof import("./domain-link/domain-link.js").DomainLink)[];
|
|
29
29
|
export declare const schema: {
|
|
30
30
|
typeDefs: {
|
|
31
31
|
privilegeDirectiveTypeDefs: import("graphql").DocumentNode;
|