AusweisApp
Lade ...
Suche ...
Keine Treffer
StateGetTcToken.h
gehe zur Dokumentation dieser Datei
1
5#pragma once
6
7#include "AbstractState.h"
10
11#include <QNetworkReply>
12#include <QSharedPointer>
13
14class test_StateGetTcToken;
15
16namespace governikus
17{
18
20 : public AbstractState
21 , public GenericContextContainer<AuthContext>
22{
23 Q_OBJECT
24 friend class StateBuilder;
25 friend class ::test_StateGetTcToken;
26
27 private:
28 QSharedPointer<QNetworkReply> mReply;
29
30 void parseTcToken();
31 void sendRequest(const QUrl& pUrl);
32 bool isValidRedirectUrl(const QUrl& pUrl);
33 void run() override;
34
35 explicit StateGetTcToken(const QSharedPointer<WorkflowContext>& pContext);
36
37 private Q_SLOTS:
38 void onNetworkReply();
39 void onSslHandshakeDone();
40 void onSslErrors(const QList<QSslError>& pErrors);
41
42 public:
43 void onExit(QEvent* pEvent) override;
44};
45
46} // namespace governikus
Definition AbstractState.h:32
Definition GenericContextContainer.h:15
Definition StateBuilder.h:15
Definition StateGetTcToken.h:22
void onExit(QEvent *pEvent) override
Definition StateGetTcToken.cpp:108
Defines the AccessRight and AccessRole enum.
Definition CommandApdu.h:17