Move HubClientConnector retrieval to IAPIProvider

This commit is contained in:
Dean Herbert
2021-02-15 16:31:00 +09:00
parent dffccef1f0
commit 9ad38ab20e
9 changed files with 60 additions and 21 deletions

View File

@ -243,6 +243,8 @@ namespace osu.Game.Online.API
this.password = password;
}
public IHubClientConnector GetHubConnector(string clientName, string endpoint) => new HubClientConnector(clientName, endpoint, this);
public RegistrationRequest.RegistrationRequestErrors CreateAccount(string email, string username, string password)
{
Debug.Assert(State.Value == APIState.Offline);