26 std::string
path =
"/callback";
33 std::string authorization_code;
39 std::string redirect_uri;
Shared lightweight value types for cxxmcp auth contracts.
Shared result and error primitives used by the public cxxmcp SDK.
Result from the loopback redirect receiver.
Definition loopback_receiver.hpp:32
Configuration for the loopback redirect receiver.
Definition loopback_receiver.hpp:22
std::chrono::seconds timeout
Maximum time to wait for the callback before timing out.
Definition loopback_receiver.hpp:28
std::string path
Path to expect the callback on (e.g. "/callback").
Definition loopback_receiver.hpp:26
int port
Port to listen on. 0 = auto-assign an available port.
Definition loopback_receiver.hpp:24
Callback result from the receiver including the redirect URI used.
Definition loopback_receiver.hpp:38