blob: bc6c2fa922de19476c2a79659013891d32eb2d03 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
#ifndef __OPKELE_OAUTH_H
#define __OPKELE_OAUTH_H
#include <string>
namespace opkele {
namespace oauth {
using std::string;
struct token_t {
string key;
string secret;
token_t() { }
token_t(const string& k,const string& s)
: key(k), secret(s) { }
bool empty() const { return key.empty() && secret.empty(); }
};
}
}
#endif /* __OPKELE_OAUTH_H */
|