Ejemplo n.º 1
0
        private async Task <bool> IsValidAccountLogOnAsync()
        {
            AccountStorage accountStorage = new AccountStorage(New <LogOnIdentity, IAccountService>(new LogOnIdentity(EmailAddress.Parse(UserEmail), new Passphrase(PasswordText))));

            return(await accountStorage.Refresh().IsIdentityValidAsync());
        }