in src/Amazon.Extensions.CognitoAuthentication/CognitoDevice.cs [313:323]
private Dictionary<string,string> CreateDictionaryFromAttributeList(IList<AttributeType> attributes)
{
Dictionary<string, string> attributesDict = new Dictionary<string, string>();
foreach(AttributeType attribute in attributes ?? new List<AttributeType>())
{
attributesDict.Add(attribute.Name, attribute.Value);
}
return attributesDict;
}