IRemoteAuthenticationService<TRemoteAuthenticationState>.CompleteSignInAsync 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
在应用程序源外部执行用户登录操作时,通过重定向操作,然后重定向到应用程序中的页面,完成该用户的登录操作。
public:
System::Threading::Tasks::Task<Microsoft::AspNetCore::Components::WebAssembly::Authentication::RemoteAuthenticationResult<TRemoteAuthenticationState> ^> ^ CompleteSignInAsync(Microsoft::AspNetCore::Components::WebAssembly::Authentication::RemoteAuthenticationContext<TRemoteAuthenticationState> ^ context);
public System.Threading.Tasks.Task<Microsoft.AspNetCore.Components.WebAssembly.Authentication.RemoteAuthenticationResult<TRemoteAuthenticationState>> CompleteSignInAsync (Microsoft.AspNetCore.Components.WebAssembly.Authentication.RemoteAuthenticationContext<TRemoteAuthenticationState> context);
abstract member CompleteSignInAsync : Microsoft.AspNetCore.Components.WebAssembly.Authentication.RemoteAuthenticationContext<'RemoteAuthenticationState (requires 'RemoteAuthenticationState :> Microsoft.AspNetCore.Components.WebAssembly.Authentication.RemoteAuthenticationState)> -> System.Threading.Tasks.Task<Microsoft.AspNetCore.Components.WebAssembly.Authentication.RemoteAuthenticationResult<'RemoteAuthenticationState>>
Public Function CompleteSignInAsync (context As RemoteAuthenticationContext(Of TRemoteAuthenticationState)) As Task(Of RemoteAuthenticationResult(Of TRemoteAuthenticationState))
参数
RemoteAuthenticationContext<TRemoteAuthenticationState>用于对用户进行身份验证的 。
返回
Task<RemoteAuthenticationResult<TRemoteAuthenticationState>>
身份验证操作的结果。