SignInManager<TUser>.UpdateExternalAuthenticationTokensAsync 方法

定义

将外部身份验证 Cookie 中找到的任何身份验证令牌存储到关联的用户。

public:
 virtual System::Threading::Tasks::Task<Microsoft::AspNetCore::Identity::IdentityResult ^> ^ UpdateExternalAuthenticationTokensAsync(Microsoft::AspNetCore::Identity::ExternalLoginInfo ^ externalLogin);
public virtual System.Threading.Tasks.Task<Microsoft.AspNetCore.Identity.IdentityResult> UpdateExternalAuthenticationTokensAsync (Microsoft.AspNetCore.Identity.ExternalLoginInfo externalLogin);
abstract member UpdateExternalAuthenticationTokensAsync : Microsoft.AspNetCore.Identity.ExternalLoginInfo -> System.Threading.Tasks.Task<Microsoft.AspNetCore.Identity.IdentityResult>
override this.UpdateExternalAuthenticationTokensAsync : Microsoft.AspNetCore.Identity.ExternalLoginInfo -> System.Threading.Tasks.Task<Microsoft.AspNetCore.Identity.IdentityResult>
Public Overridable Function UpdateExternalAuthenticationTokensAsync (externalLogin As ExternalLoginInfo) As Task(Of IdentityResult)

参数

externalLogin
ExternalLoginInfo

来自外部登录提供程序的信息。

返回

表示 Task 异步操作的 ,包含 IdentityResult 操作的 。

适用于