AusweisApp
Lade ...
Suche ...
Keine Treffer
UIPlugInScheme.h
gehe zur Dokumentation dieser Datei
1
5#pragma once
6
7#include "GlobalStatus.h"
8#include "UIPlugIn.h"
9
10class test_UIPlugInScheme;
11
12namespace governikus
13{
14
21 : public UIPlugIn
22{
23 Q_OBJECT
24 Q_PLUGIN_METADATA(IID "governikus.UIPlugIn" FILE "metadata.json")
25 Q_INTERFACES(governikus::UIPlugIn)
26
27 friend class ::test_UIPlugInScheme;
28
29 using RedirectHandler = std::function<void (const QUrl&, const GlobalStatus&)>;
30
31 private:
32 void handleTcTokenUrl(const QUrl& pActivationUrl, const QString& pReferrer);
33
34 private Q_SLOTS:
35 void onCustomUrl(const QUrl& pUrl);
36 void doShutdown() override;
37 void onWorkflowStarted(const QSharedPointer<WorkflowRequest>& pRequest) override;
38 void onWorkflowFinished(const QSharedPointer<WorkflowRequest>& pRequest) override;
39 void onWorkflowUnhandled(const QSharedPointer<WorkflowRequest>& pRequest) override;
40
41 public:
43 ~UIPlugInScheme() override;
44};
45
46} // namespace governikus
Definition: GlobalStatus.h:22
This ActivationHandler implements an API by opening custom URLs with scheme 'eid',...
Definition: UIPlugInScheme.h:22
friend class ::test_UIPlugInScheme
Definition: UIPlugInScheme.h:27
Definition: WorkflowRequest.h:26
Implementation of GeneralAuthenticate response APDUs.
Definition: CommandApdu.h:16