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