mirror of
https://github.com/ppy/osu.git
synced 2025-01-15 10:02:59 +08:00
24 lines
637 B
C#
24 lines
637 B
C#
// Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>.
|
|
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
|
|
|
|
using osu.Framework.IO.Network;
|
|
|
|
namespace osu.Game.Online.API
|
|
{
|
|
internal class RegsitrationRequest : JsonWebRequest<OAuthToken>
|
|
{
|
|
internal string Username;
|
|
internal string Email;
|
|
internal string Password;
|
|
|
|
protected override void PrePerform()
|
|
{
|
|
AddParameter("user", Username);
|
|
AddParameter("user_email", Email);
|
|
AddParameter("password", Password);
|
|
|
|
base.PrePerform();
|
|
}
|
|
}
|
|
}
|