AusweisApp
Lade ...
Suche ...
Keine Treffer
StateGetTcToken.h
gehe zur Dokumentation dieser Datei
1
4
8
9
#pragma once
10
11
#include "
AbstractState.h
"
12
#include "
GenericContextContainer.h
"
13
#include "
context/AuthContext.h
"
14
15
#include <QNetworkReply>
16
#include <QSharedPointer>
17
18
class
test_StateGetTcToken;
19
20
namespace
governikus
21
{
22
23
class
StateGetTcToken
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
AbstractState.h
AuthContext.h
GenericContextContainer.h
governikus::AbstractState::AbstractState
AbstractState(const QSharedPointer< WorkflowContext > &pContext)
Definition
AbstractState.cpp:22
governikus::GenericContextContainer< AuthContext >::GenericContextContainer
GenericContextContainer(const QSharedPointer< WorkflowContext > &pContext)
Definition
GenericContextContainer.h:27
governikus::StateGetTcToken::StateBuilder
friend class StateBuilder
Definition
StateGetTcToken.h:28
governikus::StateGetTcToken::onExit
void onExit(QEvent *pEvent) override
Definition
StateGetTcToken.cpp:108
governikus
Implementation of GeneralAuthenticate response APDUs.
Definition
CommandApdu.h:17
src
workflows
base
states
StateGetTcToken.h
Erzeugt von
1.13.2