Exemple #1
0
        public async Task LoginSilently(string username)
        {
            try
            {
                await _youTubeServiceControl.RefreshToken(username);

                await _subscriptionsHolder.Init();

                _youTubeService = _youTubeServiceControl.GetAuthorizedService();
                await LoadProfileInfo();
            }
            catch (Exception)
            {
                //_youTubeServiceControl.Logout();
            }
        }