Heart 1.3.842.34c2ab5
Heart is base back end library for your c++ Qt projects.
itoken.h
Go to the documentation of this file.
1/*
2 * Copyright (C) 2021-2024 QuasarApp.
3 * Distributed under the lgplv3 software license, see the accompanying
4 * Everyone is permitted to copy and distribute verbatim copies
5 * of this license document, but changing it is not allowed.
6*/
7
8
9#ifndef ITOKEN_H
10#define ITOKEN_H
11
12#include "accesstoken.h"
13
14namespace QH {
15
36{
37public:
38 IToken() = default;
39 virtual ~IToken() = default;
40
45 virtual const AccessToken& getSignToken() const = 0;
46
51 virtual void setSignToken(const AccessToken& token) = 0;
52
53};
54}
55#endif // ITOKEN_H
The AccessToken class contains information duration of the access. Token are byte array for validatio...
Definition accesstoken.h:25
The IToken classes interface for the validation user packages and user dates.
Definition itoken.h:36
virtual ~IToken()=default
virtual const AccessToken & getSignToken() const =0
getSignToken This method should be return actually token of the user.
virtual void setSignToken(const AccessToken &token)=0
setSignToken This method sets a new token for object.
IToken()=default
#define HEARTSHARED_EXPORT
The QH namespace - QuasarApp Heart namespace. This namespace contains all classes of the Heart librar...
Definition heart.cpp:13