共用方式為


UserManager<TUser>.GetAuthenticatorKeyAsync(TUser) 方法

定義

傳回使用者的驗證器金鑰。

public:
 virtual System::Threading::Tasks::Task<System::String ^> ^ GetAuthenticatorKeyAsync(TUser user);
public virtual System.Threading.Tasks.Task<string> GetAuthenticatorKeyAsync (TUser user);
public virtual System.Threading.Tasks.Task<string?> GetAuthenticatorKeyAsync (TUser user);
abstract member GetAuthenticatorKeyAsync : 'User -> System.Threading.Tasks.Task<string>
override this.GetAuthenticatorKeyAsync : 'User -> System.Threading.Tasks.Task<string>
Public Overridable Function GetAuthenticatorKeyAsync (user As TUser) As Task(Of String)

參數

user
TUser

使用者。

傳回

驗證器金鑰

適用於