Поделиться через


RemoteAuthenticationService<TRemoteAuthenticationState,TAccount,TProviderOptions>.SignOutAsync Метод

Определение

Выходит из службы пользователя.

public:
 virtual System::Threading::Tasks::Task<Microsoft::AspNetCore::Components::WebAssembly::Authentication::RemoteAuthenticationResult<TRemoteAuthenticationState> ^> ^ SignOutAsync(Microsoft::AspNetCore::Components::WebAssembly::Authentication::RemoteAuthenticationContext<TRemoteAuthenticationState> ^ context);
public virtual System.Threading.Tasks.Task<Microsoft.AspNetCore.Components.WebAssembly.Authentication.RemoteAuthenticationResult<TRemoteAuthenticationState>> SignOutAsync (Microsoft.AspNetCore.Components.WebAssembly.Authentication.RemoteAuthenticationContext<TRemoteAuthenticationState> context);
abstract member SignOutAsync : 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>>
override this.SignOutAsync : 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 Overridable Function SignOutAsync (context As RemoteAuthenticationContext(Of TRemoteAuthenticationState)) As Task(Of RemoteAuthenticationResult(Of TRemoteAuthenticationState))

Параметры

context
RemoteAuthenticationContext<TRemoteAuthenticationState>

Для RemoteAuthenticationContext<TRemoteAuthenticationState> проверки подлинности пользователя.

Возвращаемое значение

Task<RemoteAuthenticationResult<TRemoteAuthenticationState>>

Результат операции проверки подлинности.

Реализации

Применяется к