Skip to content

Expose UserManager<T>.GetChangeEmailTokenPurpose() #12609

Open
@lonix1

Description

@lonix1

UserManager In 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 is protected.

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.)

Metadata

Metadata

Assignees

No one assigned

    Labels

    affected-very-fewThis issue impacts very few customersarea-identityIncludes: Identity and providersenhancementThis issue represents an ask for new feature or an enhancement to an existing oneseverity-nice-to-haveThis label is used by an internal tool

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions