loadUser MethodProtected

Gets the user from storage

loadUser(requestContext: ClientRequestContext): Promise<undefined | User>

Parameter Type Description
requestContext ClientRequestContext  

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

Last Updated: 12 June, 2024