Page Contents

Home > @loopback/authentication-jwt > JWTService > (constructor)

JWTService.(constructor)

Constructs a new instance of the JWTService class

Signature:

constructor(jwtSecret: string, jwtExpiresIn: string);

Parameters

Parameter Type Description
jwtSecret string  
jwtExpiresIn string