loadUser MethodProtected
Gets the user from storage
loadUser(): Promise<undefined | User>
@returns User found in storage.
- Resolves to undefined if no user was found.
- Returned user may have expired - so it's up to the caller to check the expired state
Returns - Promise<undefined | User>
User found in storage.
- Resolves to undefined if no user was found.
- Returned user may have expired - so it's up to the caller to check the expired state
Defined in
- Client.ts Line 210
Last Updated: 17 December, 2024
Found something wrong, missing, or unclear on this page?Raise an issue in our repo.