Udostępnij za pośrednictwem


AuthenticatorTokenProvider<TUser>.GenerateAsync Metoda

Definicja

Zwraca pusty ciąg, ponieważ nie są wysyłane żadne kody uwierzytelniania.

public:
 virtual System::Threading::Tasks::Task<System::String ^> ^ GenerateAsync(System::String ^ purpose, Microsoft::AspNetCore::Identity::UserManager<TUser> ^ manager, TUser user);
public virtual System.Threading.Tasks.Task<string> GenerateAsync (string purpose, Microsoft.AspNetCore.Identity.UserManager<TUser> manager, TUser user);
abstract member GenerateAsync : string * Microsoft.AspNetCore.Identity.UserManager<'User (requires 'User : null)> * 'User -> System.Threading.Tasks.Task<string>
override this.GenerateAsync : string * Microsoft.AspNetCore.Identity.UserManager<'User (requires 'User : null)> * 'User -> System.Threading.Tasks.Task<string>
Public Overridable Function GenerateAsync (purpose As String, manager As UserManager(Of TUser), user As TUser) As Task(Of String)

Parametry

purpose
String

Ignorowane.

manager
UserManager<TUser>

Element UserManager<TUser> do pobrania user elementu z.

user
TUser

Element TUser.

Zwraca

Ciąg. Pusty.

Implementuje

Dotyczy