diff --git a/src/Microsoft.Extensions.Identity.Core/UserManager.cs b/src/Microsoft.Extensions.Identity.Core/UserManager.cs index 8ced663058..9f6d06c937 100644 --- a/src/Microsoft.Extensions.Identity.Core/UserManager.cs +++ b/src/Microsoft.Extensions.Identity.Core/UserManager.cs @@ -26,17 +26,17 @@ namespace Microsoft.AspNetCore.Identity /// /// The data protection purpose used for the reset password related methods. /// - protected const string ResetPasswordTokenPurpose = "ResetPassword"; + public const string ResetPasswordTokenPurpose = "ResetPassword"; /// /// The data protection purpose used for the change phone number methods. /// - protected const string ChangePhoneNumberTokenPurpose = "ChangePhoneNumber"; + public const string ChangePhoneNumberTokenPurpose = "ChangePhoneNumber"; /// /// The data protection purpose used for the email confirmation related methods. /// - protected const string ConfirmEmailTokenPurpose = "EmailConfirmation"; + public const string ConfirmEmailTokenPurpose = "EmailConfirmation"; private readonly Dictionary> _tokenProviders = new Dictionary>();