public static async void HandleLogonRequest(LogonRequest logonRequest, BnetSession session)
{
// TODO: Implement version checks, etc.
//if (DB.Auth.Any<Application>(a => a.Program == logonRequest.Program))
{
var challengeExternalRequest = new ChallengeExternalRequest
{
PayloadType = "web_auth_url",
Payload = ByteString.CopyFromUtf8($"https://{BnetConfig.BnetChallengeHost}:{BnetConfig.BnetChallengeBindPort}/login/{session.Guid}")
};
await session.Send(challengeExternalRequest, BnetServiceHash.AuthenticationClientService, 3);
}
}