Expose oauth access token via api interface

This commit is contained in:
Dean Herbert
2020-10-22 15:03:43 +09:00
parent 175fd512b0
commit 4788b4a643
3 changed files with 8 additions and 1 deletions

View File

@ -20,6 +20,8 @@ namespace osu.Game.Online.API
public Bindable<UserActivity> Activity { get; } = new Bindable<UserActivity>();
public string AccessToken => "token";
public bool IsLoggedIn => State.Value == APIState.Online;
public string ProvidedUsername => LocalUser.Value.Username;