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