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