public AuthService( UserManager <User> userManager, IEmailService emailService, IResetPasswordTokenProvider resetPasswordTokenProvider, IOptions <AccessTokenOptions> tokenOption) { ValidateTokenOptions(tokenOption.Value); _userManager = userManager; _emailService = emailService; _resetPasswordTokenProvider = resetPasswordTokenProvider; _tokenOptions = tokenOption.Value; }
public ResetPasswordTokenProviderTests() { _resetPasswordTokenProvider = new ResetPasswordTokenProvider(); }