OXYGENHUB
◆ main openmsx / src / security / SspiNegotiateServer.hh
456 B · C++ · last changed chore(): initial commit 1 month ago source blame history raw
1
#ifndef SSPI_NEGOTIATE_SERVER_HH
2
#define SSPI_NEGOTIATE_SERVER_HH
3
4
#ifdef _WIN32
5
6
#include "SspiUtils.hh"
7
8
namespace openmsx {
9
10
class SspiNegotiateServer : public sspiutils::SspiPackageBase
11
{
12
public:
13
	explicit SspiNegotiateServer(sspiutils::StreamWrapper& serverStream);
14
	~SspiNegotiateServer();
15
16
	bool Authenticate();
17
	bool Authorize();
18
19
private:
20
	PSECURITY_DESCRIPTOR psd;
21
};
22
23
} // namespace openmsx
24
25
#endif // _WIN32
26
27
#endif // SSPI_NEGOTIATE_SERVER_HH