Page Contents
Home > @loopback/mock-oauth2-provider > UserRepository > findById
UserRepository.findById() method
find by id
Signature:
findById(id: string): MyUser | undefined;
Parameters
Parameter | Type | Description |
---|---|---|
id | string |
Returns:
MyUser | undefined