Пример #1
0
        public void RemoveLogin(string loginProvider, string providerKey)
        {
            EnsureLogins();

            LoginVals.RemoveAll(x => x.LoginProvider == loginProvider && x.ProviderKey == providerKey);
            LoginKeys.Remove(LoginKey(loginProvider, providerKey));
        }
Пример #2
0
        public void RemoveLogin(string loginProvider, string providerKey)
        {
            EnsureLogins();

            var key = LoginKey(loginProvider, providerKey);

            LoginsObj.Remove(key);
            LoginKeys.Remove(key);
        }