aboutsummaryrefslogtreecommitdiff
path: root/zenserver/auth/authservice.h
blob: 64b86e21f1e6857ac4487d81b800150495510b11 (plain) (blame)
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
// Copyright Epic Games, Inc. All Rights Reserved.

#pragma once

#include <zenhttp/httpserver.h>

namespace zen {

class AuthMgr;

class HttpAuthService final : public zen::HttpService
{
public:
	HttpAuthService(AuthMgr& AuthMgr);
	virtual ~HttpAuthService();

	virtual const char* BaseUri() const override;
	virtual void		HandleRequest(zen::HttpServerRequest& Request) override;

private:
	AuthMgr&		  m_AuthMgr;
	HttpRequestRouter m_Router;
};

}  // namespace zen