class
#include <include/mtxclient/http/client.hpp>
UIAHandler A helper to handle user interactive authentication. This will cache the request and call the prompt every time there is a new stage. Advance the flow by calling next().
Public types
-
using UIAPrompt = std::function<void(const UIAHandler&, const user_interactive::
Unauthorized&)> - The callback for when a new UIA stage needs to be completed.
Constructors, destructors, conversion operators
- UIAHandler(UIAPrompt prompt_)
- Create a new UIA handler. Pass a callback for when a new stage needs to be completed.