added TODO
This commit is contained in:
@@ -120,7 +120,7 @@ void DiscordRPC::debug()
|
|||||||
args.SetScopes(discordpp::Client::GetDefaultPresenceScopes());
|
args.SetScopes(discordpp::Client::GetDefaultPresenceScopes());
|
||||||
args.SetCodeChallenge(codeVerifier.Challenge());
|
args.SetCodeChallenge(codeVerifier.Challenge());
|
||||||
|
|
||||||
// Begin authentication process
|
// Begin authentication process // TODO: option to open browser
|
||||||
client->Authorize(args, [client, codeVerifier](auto result, auto code, auto redirectUri)
|
client->Authorize(args, [client, codeVerifier](auto result, auto code, auto redirectUri)
|
||||||
{
|
{
|
||||||
if (!result.Successful()) {
|
if (!result.Successful()) {
|
||||||
|
Reference in New Issue
Block a user