Page Contents
Home > @loopback/authentication-jwt > UserRepository > findCredentials
UserRepository.findCredentials() method
Signature:
findCredentials(userId: typeof User.prototype.id): Promise<UserCredentials | undefined>;
Parameters
Parameter | Type | Description |
---|---|---|
userId | typeof User.prototype.id |
Returns:
Promise<UserCredentials | undefined>