MailTransport

outlookpasswordrequester.h
1/*
2 SPDX-FileCopyrightText: 2024 g10 Code GmbH
3 SPDX-FileContributor: Daniel Vrátil <dvratil@kde.org>
4
5 SPDX-License-Identifier: LGPL-2.0-or-later
6*/
7
8#pragma once
9
10#include "outlookoauthtokenrequester.h"
11#include "xoauthpasswordrequester.h"
12
13class OutlookPasswordRequester : public MailTransport::XOAuthPasswordRequester
14{
16public:
17 explicit OutlookPasswordRequester(MailTransport::Transport *transport, QObject *parent = nullptr);
18 ~OutlookPasswordRequester() override;
19
20 void requestPassword(bool forceRefresh) override;
21
22private Q_SLOTS:
23 void onTokenRequestFinished(const MailTransport::TokenResult &result);
24
25private:
26 std::unique_ptr<MailTransport::OutlookOAuthTokenRequester> mTokenRequester;
27};
Represents the settings of a specific mail transport.
Definition transport.h:33
Q_OBJECTQ_OBJECT
Q_SLOTSQ_SLOTS
QObject * parent() const const
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri May 3 2024 11:43:20 by doxygen 1.10.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.