alpha
Login
or
Join now
nandi.uk
/
semble
Star
0
Fork
0
Atom
Configure Feed
Issues
Pull Requests
Commits
Tags
Feed URL
Select the types of activity you want to include in your feed.
This repository has no description
Star
0
Fork
0
Atom
Configure Feed
Issues
Pull Requests
Commits
Tags
Feed URL
Select the types of activity you want to include in your feed.
Overview
Issues
Pulls
Pipelines
reset expiries in fake jwt service
author
Wesley Finck
date
10 months ago
(Sep 24, 2025, 4:46 PM -0700)
commit
ae78b2df
ae78b2df7cfb4c1c0a394a00bc18539b3d4b9e32
parent
197ab059
197ab05991dd3275435abc3f7ffc3cf74203be46
+2
-2
1 changed file
Expand all
Collapse all
Unified
Split
src
modules
user
infrastructure
services
FakeJwtTokenService.ts
+2
-2
src/modules/user/infrastructure/services/FakeJwtTokenService.ts
View file
Reviewed
···
7
7
8
8
export class FakeJwtTokenService implements ITokenService {
9
9
private jwtSecret: string;
10
10
-
private accessTokenExpiresIn: number = 30; //3600; // 1 hour
11
11
-
private refreshTokenExpiresIn: number = 60; //2592000; // 30 days
10
10
+
private accessTokenExpiresIn: number = 3600; // 1 hour
11
11
+
private refreshTokenExpiresIn: number = 2592000; // 30 days
12
12
13
13
constructor(private tokenRepository: ITokenRepository) {
14
14
this.jwtSecret = process.env.MOCK_ACCESS_TOKEN || 'mock-access-token-123';