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