/// <summary>
 /// Get the reset mechanisms
 /// </summary>
 public List <TfaMechanismInfo> GetResetMechanisms()
 {
     this.EnsureAuthenticated();
     using (AmiServiceClient amiClient = new AmiServiceClient(ApplicationContext.Current.GetRestClient("ami")))
     {
         var authContext = AuthenticationContext.Current;
         AuthenticationContext.Current = this.m_authContext;
         var retVal = amiClient.GetTwoFactorMechanisms().CollectionItem;
         AuthenticationContext.Current = authContext;
         return(retVal);
     }
 }