using System.Threading.Tasks; using TapTap.Login.Internal; namespace TapTap.Login.Standalone { public class TapLoginStandalone : ITapLoginPlatform { public void Init(string clientID) { } public void Init(string clientID, bool isCn, bool roundCorner) { } public void ChangeConfig(bool roundCorner, bool isPortrait) { } public Task FetchProfile() { return LoginHelper.GetProfile(); } public Task GetProfile() { return LoginHelper.GetProfile(); } public Task GetAccessToken() { return LoginHelper.GetAccessToken(); } public Task Login() { return LoginHelper.Login(); } public Task Login(string[] permissions) { return LoginHelper.Login(permissions); } public void Logout() { LoginHelper.Logout(); } public Task GetTestQualification() { return Task.FromResult(false); } } }