AusweisApp2
Lade ...
Suche ...
Keine Treffer
StateGetTcToken.h
gehe zur Dokumentation dieser Datei
1
7
#pragma once
8
9
#include "
AbstractState.h
"
10
#include "
GenericContextContainer.h
"
11
#include "
context/AuthContext.h
"
12
13
#include <QNetworkReply>
14
#include <QSharedPointer>
15
16
class
test_StateGetTcToken;
17
18
namespace
governikus
19
{
20
21
class
StateGetTcToken
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
AbstractState.h
AuthContext.h
GenericContextContainer.h
governikus::AbstractState
Definition:
AbstractState.h:20
governikus::GenericContextContainer
Definition:
GenericContextContainer.h:20
governikus::StateBuilder
Definition:
StateBuilder.h:18
governikus::StateGetTcToken
Definition:
StateGetTcToken.h:24
governikus::StateGetTcToken::onExit
void onExit(QEvent *pEvent) override
Definition:
StateGetTcToken.cpp:107
governikus
A simple template renderer.
Definition:
ActivationContext.h:15
src
workflows
base
states
StateGetTcToken.h
Erzeugt von
1.9.6