-
Notifications
You must be signed in to change notification settings - Fork 10.6k
Expose UserManager<T>.GetChangeEmailTokenPurpose() #12609
Copy link
Copy link
Open
Labels
affected-very-fewThis issue impacts very few customersThis issue impacts very few customersarea-identityIncludes: Identity and providersIncludes: Identity and providersenhancementThis issue represents an ask for new feature or an enhancement to an existing oneThis issue represents an ask for new feature or an enhancement to an existing oneseverity-nice-to-haveThis label is used by an internal toolThis label is used by an internal tool
Milestone
Metadata
Metadata
Assignees
Labels
affected-very-fewThis issue impacts very few customersThis issue impacts very few customersarea-identityIncludes: Identity and providersIncludes: Identity and providersenhancementThis issue represents an ask for new feature or an enhancement to an existing oneThis issue represents an ask for new feature or an enhancement to an existing oneseverity-nice-to-haveThis label is used by an internal toolThis label is used by an internal tool
Type
Fields
Give feedbackNo fields configured for Feature.
UserManagerIn 2.1 exposed the "purpose" constants, eg. ConfirmEmailTokenPurpose.We relied on this in order to use
userManager.VerifyUserTokenAsync().Now those constants are gone, and there is a
GetChangeEmailTokenPurpose()method in its place, which isprotected.Please make it
public, otherwise the verify function is unusable.(Subclassing just adds an unnecessary mess as this class already conceals a lot of complexity and should be usable as is.)