Fix build: synchronize Request API, fix GmailSynchronizer, and migrate UI to Qt6 Widgets
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
// outlookauthenticator.h
|
||||
#ifndef OUTLOOKAUTHENTICATOR_H
|
||||
#define OUTLOOKAUTHENTICATOR_H
|
||||
|
||||
#include "authenticator.h"
|
||||
#include "request.h"
|
||||
#include <QString>
|
||||
|
||||
class OutlookAuthenticator : public IAuthenticator {
|
||||
public:
|
||||
OutlookAuthenticator(EventBus* bus);
|
||||
bool authenticate(const QString& username, const QString& password, const QString& scope = "email");
|
||||
|
||||
private:
|
||||
EventBus* m_eventBus;
|
||||
// Placeholder for actual OAuth flow management
|
||||
bool performOAuth2Flow(const QString& authCode);
|
||||
};
|
||||
|
||||
#endif // OUTLOOKAUTHENTICATOR_H
|
||||
Reference in New Issue
Block a user