AuthenticatorTokenProvider<TUser>.ValidateAsync 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
public:
virtual System::Threading::Tasks::Task<bool> ^ ValidateAsync(System::String ^ purpose, System::String ^ token, Microsoft::AspNetCore::Identity::UserManager<TUser> ^ manager, TUser user);
public virtual System.Threading.Tasks.Task<bool> ValidateAsync (string purpose, string token, Microsoft.AspNetCore.Identity.UserManager<TUser> manager, TUser user);
abstract member ValidateAsync : string * string * Microsoft.AspNetCore.Identity.UserManager<'User (requires 'User : null)> * 'User -> System.Threading.Tasks.Task<bool>
override this.ValidateAsync : string * string * Microsoft.AspNetCore.Identity.UserManager<'User (requires 'User : null)> * 'User -> System.Threading.Tasks.Task<bool>
Public Overridable Function ValidateAsync (purpose As String, token As String, manager As UserManager(Of TUser), user As TUser) As Task(Of Boolean)
參數
- purpose
- String
- token
- String
- manager
- UserManager<TUser>
- user
- TUser