NestJS - Authentication
What will this NestJS service method return when called with a valid refresh token?
async refreshToken(token: string) {
const payload = this.jwtService.verify(token, { secret: process.env.REFRESH_TOKEN_SECRET });
return this.jwtService.sign({ userId: payload.userId });
}