public async Task <bool> TrySilentLogin()
        {
            AuthenticationResult   authResult = null;
            IEnumerable <IAccount> accounts   = await _client.GetAccountsAsync();

            try
            {
                IAccount firstAccount = accounts.FirstOrDefault();
                authResult = await _client.AcquireTokenSilentAsync(ADB2CConstants.Scopes, firstAccount);

                if (authResult != null)
                {
                    _credentialsProvider.UpdateCredentials(authResult.UniqueId, authResult.AccessToken);
                }
            }
            catch (Exception e)
            {
                Console.WriteLine(e);
                Crashes.TrackError(e);
            }

            return(authResult != null);
        }