TrinityCore
Battlenet::Services::Authentication Class Reference

#include <AuthenticationService.h>

+ Inheritance diagram for Battlenet::Services::Authentication:

Public Member Functions

 Authentication (Session *session)
 
uint32 HandleLogon (authentication::v1::LogonRequest const *request, NoData *response, std::function< void(ServiceBase *, uint32, ::google::protobuf::Message const *)> &continuation) override
 
uint32 HandleVerifyWebCredentials (authentication::v1::VerifyWebCredentialsRequest const *request, NoData *response, std::function< void(ServiceBase *, uint32, ::google::protobuf::Message const *)> &continuation) override
 
uint32 HandleGenerateWebCredentials (authentication::v1::GenerateWebCredentialsRequest const *request, authentication::v1::GenerateWebCredentialsResponse *response, std::function< void(ServiceBase *, uint32, google::protobuf::Message const *)> &continuation) 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
 

Detailed Description

Definition at line 30 of file AuthenticationService.h.

Member Typedef Documentation

◆ AuthenticationService

typedef Service<authentication::v1::AuthenticationService> Battlenet::Services::Authentication::AuthenticationService
private

Definition at line 32 of file AuthenticationService.h.

Constructor & Destructor Documentation

◆ Authentication()

Battlenet::Services::Authentication::Authentication ( Session session)

Definition at line 20 of file AuthenticationService.cpp.

Member Function Documentation

◆ HandleGenerateWebCredentials()

uint32 Battlenet::Services::Authentication::HandleGenerateWebCredentials ( authentication::v1::GenerateWebCredentialsRequest const *  request,
authentication::v1::GenerateWebCredentialsResponse *  response,
std::function< void(ServiceBase *, uint32, google::protobuf::Message const *)> &  continuation 
)
override

Definition at line 34 of file AuthenticationService.cpp.

◆ HandleLogon()

uint32 Battlenet::Services::Authentication::HandleLogon ( authentication::v1::LogonRequest const *  request,
NoData response,
std::function< void(ServiceBase *, uint32, ::google::protobuf::Message const *)> &  continuation 
)
override

Definition at line 24 of file AuthenticationService.cpp.

◆ HandleVerifyWebCredentials()

uint32 Battlenet::Services::Authentication::HandleVerifyWebCredentials ( authentication::v1::VerifyWebCredentialsRequest const *  request,
NoData response,
std::function< void(ServiceBase *, uint32, ::google::protobuf::Message const *)> &  continuation 
)
override

Definition at line 29 of file AuthenticationService.cpp.


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