-
Notifications
You must be signed in to change notification settings - Fork 0
/
Credential.h
48 lines (37 loc) · 1.22 KB
/
Credential.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
/*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
/*
* File: Credential.h
* Author: Benjamin
*
* Created on 1 février 2017, 16:08
*/
#ifndef CREDENTIAL_H
#define CREDENTIAL_H
#include <memory>
#include <string>
namespace Spatch
{
namespace Configuration
{
class Credential
{
public:
Credential(const std::string &id, const std::string &username, const std::string &password);
~Credential();
const std::string &getId() const;
const std::string &getUsername() const;
void setUsername(const std::string &username);
const std::string &getPassword() const;
void setPassword(const std::string &password);
private:
std::string _id;
std::string _username;
std::string _password;
};
}
}
#endif /* CREDENTIAL_H */