Files
wino-mail-dtkqt/include/outlookauthenticator.h
T

20 lines
541 B
C++

// 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