aws / aws-aspnet-cognito-identity-provider

ASP.NET Core Identity Provider for Amazon Cognito
https://aws.amazon.com/developer/language/net/
Apache License 2.0
215 stars 89 forks source link

No definition for CognitoAttributesConstants when upgrading to 0.9.0.11 #77

Closed josephd9 closed 5 years ago

josephd9 commented 5 years ago

I was on .9 then upgraded to .11 and the class CognitoAttributesConstants became undefined. I downgraded to .10 and it worked. I tried but could not find the necessary reference to use this class while using .11.

assyadh commented 5 years ago

Hi,

Yes they have been renamed to CognitoAttribute:

https://github.com/aws/aws-aspnet-cognito-identity-provider/blob/master/src/Amazon.AspNetCore.Identity.Cognito/CognitoAttribute.cs

There is also a constructor that allows you to expend the class and build your own attribute now.

Sorry about that but while we are still in dev preview there might be some breaking changes.