Heart
1.4.918.d927d9c
Heart is base back end library for your c++ Qt projects.
Toggle main menu visibility
Loading...
Searching...
No Matches
itoken.h
Go to the documentation of this file.
1
/*
2
* Copyright (C) 2021-2025 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
14
namespace
QH
{
15
35
class
HEARTSHARED_EXPORT
IToken
36
{
37
public
:
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
accesstoken.h
QH::AccessToken
The AccessToken class contains information duration of the access. Token are byte array for validatio...
Definition
accesstoken.h:25
QH::IToken::~IToken
virtual ~IToken()=default
QH::IToken::getSignToken
virtual const AccessToken & getSignToken() const =0
getSignToken This method should be return actually token of the user.
QH::IToken::setSignToken
virtual void setSignToken(const AccessToken &token)=0
setSignToken This method sets a new token for object.
QH::IToken::IToken
IToken()=default
QH
The QH namespace - QuasarApp Heart namespace. This namespace contains all classes of the Heart librar...
Definition
heart.cpp:13
src
public
itoken.h
Generated by
1.18.0