![]() |
TrinityCore
|
#include <AuthenticationService.h>
Static Public Member Functions | |
| static uint32 | HandleLogon (Session *session, ClientBuild::Program::Id program, std::string_view platform, std::string_view locale, uint32 applicationVersion, std::string_view deviceId) |
| static uint32 | HandleVerifyAuthToken (Session *session, std::string_view authToken, std::function< void(uint32)> sendResponse, std::function< void(AccountInfo const *, std::string_view)> sendLogonComplete) |
| static uint32 | HandleGenerateAuthToken (Session *session, std::function< void(std::string_view)> sendResponse) |
Definition at line 35 of file AuthenticationService.h.
|
static |
Definition at line 205 of file AuthenticationService.cpp.
References ERROR_OK, Battlenet::Session::GetAccountId(), LOGIN_SEL_BNET_EXISTING_AUTHENTICATION_BY_ID, LoginDatabase, Battlenet::Session::QueueQuery(), and PreparedStatementBase::setUInt32().
Referenced by Battlenet::Services::V2::Authentication::HandleGenerateAuthToken(), and Battlenet::Services::V1::Authentication::HandleGenerateWebCredentials().
|
static |
Definition at line 35 of file AuthenticationService.cpp.
References ERROR_BAD_LOCALE, ERROR_BAD_PLATFORM, ERROR_BAD_PROGRAM, ERROR_OK, Battlenet::Session::GetClientInfo(), GetLocaleByName(), Trinity::Timezone::GetOffsetByHash(), ClientBuild::Platform::IsValid(), IsValidLocale(), Battlenet::Session::OnLogon(), TC_LOG_DEBUG, and ClientBuild::Program::WoW.
|
static |
Definition at line 80 of file AuthenticationService.cpp.
References ERROR_TIMED_OUT, LOGIN_SEL_BNET_ACCOUNT_INFO, LOGIN_SEL_BNET_CHARACTER_COUNTS_BY_BNET_ID, LoginDatabase, Battlenet::Session::QueueQuery(), QueryCallback::SetNextQuery(), PreparedStatementBase::setString(), and PreparedStatementBase::setUInt32().