Commit 4833cecc authored by Paweł Wegner's avatar Paweł Wegner

IAuth: use GenericCallback.

parent 348e5959
......@@ -29,13 +29,14 @@
#include "ICloudProvider.h"
#include "IHttpServer.h"
#include "IRequest.h"
namespace cloudstorage {
class IAuth {
public:
using Pointer = std::unique_ptr<IAuth>;
using CodeReceived = std::function<void(EitherError<std::string>)>;
using CodeReceived = GenericCallback<EitherError<std::string>>;
struct Token {
using Pointer = std::unique_ptr<Token>;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment