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 214
Last Updated: 06 November, 2024
Found something wrong, missing, or unclear on this page?Raise an issue in our repo.