Extract the user from the request object

  • Parameters

    • Optionalkey: string & Record<never, never>

      the key of the user object to extract, or omit for the entire user

    Returns ParameterDecorator