summaryrefslogtreecommitdiff
path: root/protocols/WhatsApp/src/WhatsAPI++/WARegister.h
blob: f2fe0e230ba27a00df32ef0d0c441f87649d3fc5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
/*
 * WARegister.h
 */

#ifndef WAREGISTER_H_
#define WAREGISTER_H_

#include <string>

struct WAToken
{
	static std::string GenerateToken(const std::string &number);
};

class WARegister
{
	static std::string GenerateIdentity(const std::string &phone);

public:
	static CMStringA RequestCodeUrl(const std::string &phone, const std::string &code);
};

#endif /* WAREGISTER_H_ */