public void RemoveAuthenticationMethod(DSMAuthenticationMethod method) { if (AuthenticationSection.ContainsKey(method)) { AuthenticationSection.Remove(AuthenticationSection[method]); } }
public void RemoveAuthenticationMethod(DSMAuthenticationMethod method) { DSMAuthentication am = AuthenticationSection.TryGet(method); if (am != null) { AuthenticationSection.Remove(am); } }