AusweisApp2
StateGetTcToken.h
gehe zur Dokumentation dieser Datei
1 
7 #pragma once
8 
9 #include "AbstractState.h"
10 #include "context/AuthContext.h"
12 
13 #include <QNetworkReply>
14 #include <QSharedPointer>
15 
16 class test_StateGetTcToken;
17 
18 namespace 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  QSharedPointer<QNetworkReply> mReply;
30 
31  void parseTcToken();
32  void sendRequest(const QUrl& pUrl);
33  bool isValidRedirectUrl(const QUrl& pUrl);
34  virtual void run() override;
35 
36  explicit StateGetTcToken(const QSharedPointer<WorkflowContext>& pContext);
37 
38  private Q_SLOTS:
39  void onNetworkReply();
40  void onSslHandshakeDone();
41  void onSslErrors(const QList<QSslError>& pErrors);
42 };
43 
44 } // namespace governikus
Definition: StateGetTcToken.h:21
Definition: AbstractState.h:18
Implementation of ActivationContext for Intent based activation on Android systems.
Definition: ActivationContext.h:14
Definition: GenericContextContainer.h:19
Definition: StateBuilder.h:17