Authentication.md
November 2, 2015 ยท View on GitHub
Authentication API
Login to Discord
$discord = new Discord($email_address, $password);
print_r($discord);
Returns an array with your auth token.
Note the client automatically does this for you. This is merely for documentation.
Logout of Discord
$discord = new Discord($email_address, $password);
$discord->api('authentication')->logout();
Logs you out from Discord.