Пример #1
0
        /// <summary>
        /// Delete Account (log out) for currently authenticated user
        /// </summary>
        public static void DeleteAccount()
        {
            var account = GetAccount();

            if (account == null)
            {
                return;
            }

            AuthStorageHelper.DeletePersistedAccount(account.UserName, account.UserId);

            LoggedInAccount = null;
        }