Make token purpose consts public (#1344)
This commit is contained in:
parent
de1e3a6273
commit
3a13eec829
|
|
@ -26,17 +26,17 @@ namespace Microsoft.AspNetCore.Identity
|
|||
/// <summary>
|
||||
/// The data protection purpose used for the reset password related methods.
|
||||
/// </summary>
|
||||
protected const string ResetPasswordTokenPurpose = "ResetPassword";
|
||||
public const string ResetPasswordTokenPurpose = "ResetPassword";
|
||||
|
||||
/// <summary>
|
||||
/// The data protection purpose used for the change phone number methods.
|
||||
/// </summary>
|
||||
protected const string ChangePhoneNumberTokenPurpose = "ChangePhoneNumber";
|
||||
public const string ChangePhoneNumberTokenPurpose = "ChangePhoneNumber";
|
||||
|
||||
/// <summary>
|
||||
/// The data protection purpose used for the email confirmation related methods.
|
||||
/// </summary>
|
||||
protected const string ConfirmEmailTokenPurpose = "EmailConfirmation";
|
||||
public const string ConfirmEmailTokenPurpose = "EmailConfirmation";
|
||||
|
||||
private readonly Dictionary<string, IUserTwoFactorTokenProvider<TUser>> _tokenProviders =
|
||||
new Dictionary<string, IUserTwoFactorTokenProvider<TUser>>();
|
||||
|
|
|
|||
Loading…
Reference in New Issue