AusweisApp2
Lade ...
Suche ...
Keine Treffer
StateRedirectBrowser.h
gehe zur Dokumentation dieser Datei
1
9#pragma once
10
11#include "AbstractState.h"
12#include "ECardApiResult.h"
14#include "context/AuthContext.h"
15
16#include <http_parser.h>
17
18
19class test_StateRedirectBrowser;
20
21
22namespace governikus
23{
24
26 : public AbstractState
27 , public GenericContextContainer<AuthContext>
28{
29 Q_OBJECT
30 friend class StateBuilder;
31 friend class ::test_StateRedirectBrowser;
32
33 private:
34 explicit StateRedirectBrowser(const QSharedPointer<WorkflowContext>& pContext);
35
36 void reportCommunicationError();
37 void sendErrorPage(http_status pStatus);
38 bool sendRedirect(const QUrl& pRedirectAddress, const ECardApiResult& pResult);
39 void run() override;
40
41};
42
43} // namespace governikus
Definition: AbstractState.h:23
Definition: ECardApiResult.h:31
Definition: GenericContextContainer.h:22
Definition: StateBuilder.h:20
Definition: StateRedirectBrowser.h:28
http_status
Definition: http_parser.h:155
Implementation of GeneralAuthenticate response APDUs.
Definition: CommandApdu.h:16