public void RemoveAuthenticationMethod(DSMAuthenticationMethod method)
 {
     if (AuthenticationSection.ContainsKey(method))
     {
         AuthenticationSection.Remove(AuthenticationSection[method]);
     }
 }
示例#2
0
        public void RemoveAuthenticationMethod(DSMAuthenticationMethod method)
        {
            DSMAuthentication am = AuthenticationSection.TryGet(method);

            if (am != null)
            {
                AuthenticationSection.Remove(am);
            }
        }