AusweisApp
Lade ...
Suche ...
Keine Treffer
AuthModel.h
gehe zur Dokumentation dieser Datei
1
9#pragma once
10
11#include "Env.h"
12#include "SingletonCreator.h"
13#include "WorkflowModel.h"
14#include "context/AuthContext.h"
15
16#include <QObject>
17#include <QQmlEngine>
18#include <QSharedPointer>
19#include <QString>
20#include <QtQml/qqmlregistration.h>
21
22
23class test_UiPluginQml;
24
25
26namespace governikus
27{
28
30 : public WorkflowModel
31 , public SingletonCreator<AuthModel>
32{
36
37 friend class Env;
38 friend class ::test_UiPluginQml;
39
51
52 private:
54 QString mTransactionInfo;
55
57 AuthModel();
59
60 public:
62
67 [[nodiscard]] QString getResultHeader() const;
68 [[nodiscard]] QString getErrorHeader() const;
69 [[nodiscard]] QString getErrorText() const;
74
76
78 void onDidAuthenticateEac1Changed();
79
84};
85
86
87} // namespace governikus
Definition AuthContext.h:48
Definition AuthModel.h:32
int progressValue
Definition AuthModel.h:41
void fireShowChangePinViewChanged()
QString resultViewButtonText
Definition AuthModel.h:49
void fireTransactionInfoChanged()
Q_INVOKABLE void cancelWorkflowToChangePin()
Definition AuthModel.cpp:199
QString getResultHeader() const
Definition AuthModel.cpp:80
QString errorText
Definition AuthModel.h:46
QString getProgressMessage() const
Definition AuthModel.cpp:58
const QString & getTransactionInfo() const
Definition AuthModel.cpp:41
QString getStatusCodeString() const
Definition AuthModel.cpp:143
int getProgressValue() const
Definition AuthModel.cpp:47
void resetAuthContext(const QSharedPointer< AuthContext > &pContext=QSharedPointer< AuthContext >())
Definition AuthModel.cpp:17
QUrl getResultViewButtonLink() const
Definition AuthModel.cpp:183
QString getErrorHeader() const
Definition AuthModel.cpp:104
QString resultHeader
Definition AuthModel.h:44
QString resultViewButtonIcon
Definition AuthModel.h:48
QString errorHeader
Definition AuthModel.h:45
QString getResultViewButtonText() const
Definition AuthModel.cpp:165
QString statusCodeString
Definition AuthModel.h:47
bool showChangePinView
Definition AuthModel.h:43
QString getResultViewButtonIcon() const
Definition AuthModel.cpp:149
bool getShowChangePinView() const
Definition AuthModel.cpp:69
QString getErrorText() const
Definition AuthModel.cpp:116
QString transactionInfo
Definition AuthModel.h:40
QUrl resultViewButtonLink
Definition AuthModel.h:50
QString progressMessage
Definition AuthModel.h:42
Definition Env.h:42
Definition SingletonCreator.h:22
Definition WorkflowModel.h:27
Implementation of GeneralAuthenticate response APDUs.
Definition CommandApdu.h:17
QSharedPointer< T > decodeObject(const QByteArray &pData, bool pLogging=true)
Template function for decoding an OpenSSL type from DER encoded QByteArray.
Definition ASN1TemplateUtil.h:114