/// <summary>
        /// Internal method that cleans up the created user pool (along with associated client/user)
        /// for testing
        /// </summary>
        public virtual void Dispose()
        {
            try
            {
                provider.DeleteUserPoolAsync(new DeleteUserPoolRequest()
                {
                    UserPoolId = pool.PoolID
                }).Wait();

                provider.Dispose();
            }
            catch (Exception ex)
            {
                System.Diagnostics.Debug.WriteLine(ex.Message);
            }
        }
Пример #2
0
 protected override void OnNavigatedFrom(NavigationEventArgs e)
 {
     AwsCognitoIdentityProviderClient.Dispose();
 }
Пример #3
0
 public void Dispose()
 {
     _provider.Dispose();
 }