Page Contents

Home > @loopback/authentication-jwt > JWTService > generateToken

JWTService.generateToken() method

Signature:

generateToken(userProfile: UserProfile): Promise<string>;

Parameters

Parameter Type Description
userProfile UserProfile  

Returns:

Promise<string>