IEmailSender<TUser> Rozhraní

Definice

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

public interface IEmailSender<TUser> where TUser : class
type IEmailSender<'User (requires 'User : null)> = interface
Public Interface IEmailSender(Of TUser)

Parametry typu

TUser

Metody

SendConfirmationLinkAsync(TUser, String, String)

Toto rozhraní API podporuje infrastrukturu ASP.NET Core Identity a není určené k použití jako abstrakce e-mailu pro obecné účely. Měla by být implementována aplikací, aby infrastruktura identit mohl odesílat potvrzovací e-maily.

SendPasswordResetCodeAsync(TUser, String, String)

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

SendPasswordResetLinkAsync(TUser, String, String)

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

Platí pro