public static TDSLoginImpl GetInstance() { lock (locker) { if (sInstance == null) { sInstance = new TDSLoginImpl(); } } return(sInstance); }
public static void Init(string clientId) { TDSLoginImpl.GetInstance().Init(clientId); }
public static void FetchProfileForCurrentAccessToken(Action <TDSLoginProfile> callback, Action <string> errorCallback) { TDSLoginImpl.GetInstance().FetchProfileForCurrentAccessToken(callback, errorCallback); }
public static void ChangeConfig(bool isCN, bool isRoundCorner) { TDSLoginImpl.GetInstance().ChangeConfig(isCN, isRoundCorner); }
public static void GetCurrentProfile(Action <TDSLoginProfile> callback) { TDSLoginImpl.GetInstance().GetCurrentProfile(callback); }
public static void Logout() { TDSLoginImpl.GetInstance().Logout(); }
public static void GetCurrentAccessToken(Action <TDSAccessToken> callback) { TDSLoginImpl.GetInstance().GetCurrentAccessToken(callback); }
public static void UnRegisterLoginCallback() { TDSLoginImpl.GetInstance().UnRegisterLoginCallback(); }
public static void RegisterLoginCallback(LoginCallback callback) { TDSLoginImpl.GetInstance().RegisterLoginCallback(callback); }
public static void StartLogin(string[] permissions) { TDSLoginImpl.GetInstance().StartLogin(permissions); }
public static void Init(string clientId, bool isCN, bool isRoundCorner) { TDSLoginImpl.GetInstance().Init(clientId, isCN, isRoundCorner); }