private void CheckForLoggedInUser() { var storedInfo = GoogleDriveSettings.LoadFromResources(); if (storedInfo.CachedAccessToken == "") { _driveInfo.text = "no Google Drive connected."; } else { _driveInfo.text = "Google Drive connected."; } }
protected override void Awake() { base.Awake(); settings = GoogleDriveSettings.LoadFromResources(); }
public void LogoutUser() { var storedInfo = GoogleDriveSettings.LoadFromResources(); storedInfo.DeleteCachedAuthTokens(); }