Page Contents
Home > @loopback/authentication-jwt > RefreshtokenService > (constructor)
RefreshtokenService.(constructor)
Constructs a new instance of the RefreshtokenService
class
Signature:
constructor(refreshSecret: string, refreshExpiresIn: string, refreshIssure: string, refreshTokenRepository: RefreshTokenRepository, userService: MyUserService, jwtService: TokenService);
Parameters
Parameter | Type | Description |
---|---|---|
refreshSecret | string | |
refreshExpiresIn | string | |
refreshIssure | string | |
refreshTokenRepository | RefreshTokenRepository | |
userService | MyUserService | |
jwtService | TokenService |