TrinityCore
Loading...
Searching...
No Matches
Battlenet::Services::V2::Authentication Class Reference
+ Inheritance diagram for Battlenet::Services::V2::Authentication:

Public Member Functions

 Authentication (Session *session)
 
uint32 HandleLogon (authentication::v2::client::LogonRequest const *request, NoData *response, std::function< void(ServiceBase *, uint32, ::google::protobuf::Message const *)> &continuation) override
 
uint32 HandleVerifyAuthToken (authentication::v2::client::VerifyAuthTokenRequest const *request, NoData *response, std::function< void(ServiceBase *, uint32, ::google::protobuf::Message const *)> &continuation) override
 
uint32 HandleGenerateAuthToken (authentication::v2::client::GenerateAuthTokenRequest const *request, authentication::v2::client::GenerateAuthTokenResponse *response, std::function< void(ServiceBase *, uint32, google::protobuf::Message const *)> &continuation) override
 
- Public Member Functions inherited from Battlenet::Service< authentication::v2::client::AuthenticationService >
 Service (Session *session)
 

Private Types

typedef Service< authentication::v2::client::AuthenticationService > AuthenticationService
 

Private Member Functions

uint32 HandleVerifyAuthToken (std::string_view authToken, std::function< void(ServiceBase *, uint32, ::google::protobuf::Message const *)> &continuation)
 

Additional Inherited Members

- Protected Member Functions inherited from Battlenet::Service< authentication::v2::client::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 serviceHash, uint32 methodId, uint32 token, uint32 status) override
 
void SendResponse (uint32 serviceHash, uint32 methodId, uint32 token, google::protobuf::Message const *response) override
 
std::string GetCallerInfo () const override
 
- Protected Member Functions inherited from Battlenet::ServiceBaseCaller
 ServiceBaseCaller (Session *session)
 
void SendRequest (uint32 serviceHash, uint32 methodId, google::protobuf::Message const *request, std::function< void(MessageBuffer)> &&callback)
 
void SendRequest (uint32 serviceHash, uint32 methodId, google::protobuf::Message const *request)
 
void SendResponse (uint32 serviceHash, uint32 methodId, uint32 token, uint32 status)
 
void SendResponse (uint32 serviceHash, uint32 methodId, uint32 token, google::protobuf::Message const *response)
 
std::string GetCallerInfo () const
 
- Protected Attributes inherited from Battlenet::ServiceBaseCaller
Session * _session
 

Detailed Description

Definition at line 66 of file AuthenticationService.h.

Member Typedef Documentation

◆ AuthenticationService

typedef Service<authentication::v2::client::AuthenticationService> Battlenet::Services::V2::Authentication::AuthenticationService
private

Definition at line 68 of file AuthenticationService.h.

Constructor & Destructor Documentation

◆ Authentication()

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

Definition at line 307 of file AuthenticationService.cpp.

Member Function Documentation

◆ HandleGenerateAuthToken()

uint32 Battlenet::Services::V2::Authentication::HandleGenerateAuthToken ( authentication::v2::client::GenerateAuthTokenRequest const *  request,
authentication::v2::client::GenerateAuthTokenResponse *  response,
std::function< void(ServiceBase *, uint32, google::protobuf::Message const *)> &  continuation 
)
override

◆ HandleLogon()

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

◆ HandleVerifyAuthToken() [1/2]

uint32 Battlenet::Services::V2::Authentication::HandleVerifyAuthToken ( authentication::v2::client::VerifyAuthTokenRequest const *  request,
NoData *  response,
std::function< void(ServiceBase *, uint32, ::google::protobuf::Message const *)> &  continuation 
)
override

◆ HandleVerifyAuthToken() [2/2]

uint32 Battlenet::Services::V2::Authentication::HandleVerifyAuthToken ( std::string_view  authToken,
std::function< void(ServiceBase *, uint32, ::google::protobuf::Message const *)> &  continuation 
)
private

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