Sdílet prostřednictvím


IEmailSender<TUser>.SendPasswordResetLinkAsync Metoda

Definice

Toto rozhraní API podporuje infrastrukturu ASP.NET Core Identity a není určeno k použití jako abstrakce e-mailů pro obecné účely. Měla by ho implementovat aplikace, aby infrastruktura identit mohl odesílat e-maily o resetování hesla.

public System.Threading.Tasks.Task SendPasswordResetLinkAsync (TUser user, string email, string resetLink);
abstract member SendPasswordResetLinkAsync : 'User * string * string -> System.Threading.Tasks.Task
Public Function SendPasswordResetLinkAsync (user As TUser, email As String, resetLink As String) As Task

Parametry

user
TUser

Uživatel, který se pokouší resetovat heslo.

email
String

E-mailová adresa příjemce.

resetLink
String

Následující odkaz resetuje heslo uživatele. Nezakódujte to dvojitě.

Návraty

Platí pro