1 write to ChangePhoneNumberTokenProvider
Microsoft.AspNetCore.Identity.Specification.Tests (1)
UserManagerSpecificationTests.cs (1)
1434
manager.Options.Tokens.
ChangePhoneNumberTokenProvider
= "Yes";
4 references to ChangePhoneNumberTokenProvider
Microsoft.Extensions.Identity.Core (4)
TokenOptions.cs (2)
63
/// Gets or sets the <see cref="
ChangePhoneNumberTokenProvider
"/> used to generate tokens used when changing phone numbers.
66
/// The <see cref="
ChangePhoneNumberTokenProvider
"/> used to generate tokens used when changing phone numbers.
UserManager.cs (2)
1514
return GenerateUserTokenAsync(user, Options.Tokens.
ChangePhoneNumberTokenProvider
, ChangePhoneNumberTokenPurpose + ":" + phoneNumber);
1534
return VerifyUserTokenAsync(user, Options.Tokens.
ChangePhoneNumberTokenProvider
, ChangePhoneNumberTokenPurpose + ":" + phoneNumber, token);