Exemple #1
0
        public ICollection <CredentialGroup> GetGroups()
        {
            if (_currentData == null)
            {
                _currentData = _store.Load()?.ToList();
            }

            return(_currentData.OrderBy(g => g.Name).ToList());
        }
Exemple #2
0
        public async Task Initialize()
        {
            (var email, var password) = await _credentialsStore.Load();

            string webAddress = await SecureStorage.GetAsync("webAddress");

            _clientSettings.Email      = email;
            _clientSettings.Password   = password;
            _clientSettings.WebAddress = webAddress;
        }