Uploaded image for project: 'Mender'
  1. Mender
  2. MEN-4169

Remove caching of auth token in client now that it has a separate auth manager

    XMLWordPrintable

    Details

      Description

      The problem is the authToken member in the Mender struct. We cannot cache this value anymore because the auth manager can change the token behind our back. Unfortunately removing it and replacing the references with function calls has a lot of ripple effects as now almost all tests require an auth manager service to be running.

      Most likely this will be solved by implementing on-demand service in the auth manager, where it can be launched manually, like we do in the main daemon loop, or on demand, as we may need in tests.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                a10040 Kristian Amlie
                Reporter:
                a10040 Kristian Amlie
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Zendesk Support

                    Summary Panel