/// <summary>
        /// List identity providers
        /// </summary>
        /// <returns></returns>
        public async Task <List <IdentityProviderInfoDto> > ListIdentityProvidersAsync()
        {
            List <IdentityProviderInfoDto> identityProviderInfoDtos = new List <IdentityProviderInfoDto>();

            ListIdentityProvidersRequest listIdentityProvidersRequest = new ListIdentityProvidersRequest
            {
                UserPoolId = _appConfigInfo.AWSPoolId
            };

            var result = await _provider.ListIdentityProvidersAsync(listIdentityProvidersRequest);

            foreach (var identityProvider in result.Providers)
            {
                identityProviderInfoDtos.Add(new IdentityProviderInfoDto
                {
                    Name             = identityProvider.ProviderName,
                    Type             = identityProvider.ProviderType,
                    CreatedDate      = identityProvider.CreationDate,
                    LastModifiedDate = identityProvider.LastModifiedDate
                });
            }

            return(identityProviderInfoDtos);
        }