TrinityCore
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
Battlenet::Services::Authentication Class Reference

#include <AuthenticationService.h>

Public Member Functions

 Authentication (Session *session)
 
uint32 HandleLogon (authentication::v1::LogonRequest const *request, NoData *respons) override
 
uint32 HandleVerifyWebCredentials (authentication::v1::VerifyWebCredentialsRequest const *request, NoData *respons) override
 
- Public Member Functions inherited from Battlenet::Service< authentication::v1::AuthenticationService >
 Service (Session *session)
 

Private Types

typedef Service
< authentication::v1::AuthenticationService
AuthenticationService
 

Additional Inherited Members

- Protected Member Functions inherited from Battlenet::Service< authentication::v1::AuthenticationService >
void SendRequest (uint32 serviceHash, uint32 methodId, google::protobuf::Message const *request, std::function< void(MessageBuffer)> callback) override
 
void SendRequest (uint32 serviceHash, uint32 methodId, google::protobuf::Message const *request) override
 
void SendResponse (uint32, uint32, uint32 token, uint32 status) override
 
void SendResponse (uint32, uint32, uint32 token, google::protobuf::Message const *response) override
 
std::string GetCallerInfo () const override
 
- Protected Attributes inherited from Battlenet::Service< authentication::v1::AuthenticationService >
Session_session
 

Member Typedef Documentation

Constructor & Destructor Documentation

Battlenet::Services::Authentication::Authentication ( Session session)
21  : AuthenticationService(session)
22 {
23 }
Service< authentication::v1::AuthenticationService > AuthenticationService
Definition: AuthenticationService.h:33

Member Function Documentation

uint32 Battlenet::Services::Authentication::HandleLogon ( authentication::v1::LogonRequest const request,
NoData respons 
)
override
26 {
27  return _session->HandleLogon(request);
28 }
uint32 HandleLogon(authentication::v1::LogonRequest const *logonRequest)
Definition: Session.cpp:213
uint32 Battlenet::Services::Authentication::HandleVerifyWebCredentials ( authentication::v1::VerifyWebCredentialsRequest const request,
NoData respons 
)
override
31 {
32  return _session->HandleVerifyWebCredentials(request);
33 }
uint32 HandleVerifyWebCredentials(authentication::v1::VerifyWebCredentialsRequest const *verifyWebCredentialsRequest)
Definition: Session.cpp:245

The documentation for this class was generated from the following files: