Dela via


WebAccount.SignOutAsync Method

Definition

Overloads

SignOutAsync()

Signs the web account out asynchronously. This clears all cached tokens associated with the account, and tells the provider to invalidate any tokens associated with the account for this app.

SignOutAsync(String)

Signs the web account out asynchronously. This clears all cached tokens associated with the account, and tells the provider to invalidate any tokens associated with the account for this app.

SignOutAsync()

Signs the web account out asynchronously. This clears all cached tokens associated with the account, and tells the provider to invalidate any tokens associated with the account for this app.

public:
 virtual IAsyncAction ^ SignOutAsync() = SignOutAsync;
/// [Windows.Foundation.Metadata.Overload("SignOutAsync")]
/// [Windows.Foundation.Metadata.RemoteAsync]
IAsyncAction SignOutAsync();
[Windows.Foundation.Metadata.Overload("SignOutAsync")]
[Windows.Foundation.Metadata.RemoteAsync]
public IAsyncAction SignOutAsync();
function signOutAsync()
Public Function SignOutAsync () As IAsyncAction

Returns

This method does not return a value.

Attributes

See also

Applies to

SignOutAsync(String)

Signs the web account out asynchronously. This clears all cached tokens associated with the account, and tells the provider to invalidate any tokens associated with the account for this app.

public:
 virtual IAsyncAction ^ SignOutAsync(Platform::String ^ clientId) = SignOutAsync;
/// [Windows.Foundation.Metadata.Overload("SignOutWithClientIdAsync")]
/// [Windows.Foundation.Metadata.RemoteAsync]
IAsyncAction SignOutAsync(winrt::hstring const& clientId);
[Windows.Foundation.Metadata.Overload("SignOutWithClientIdAsync")]
[Windows.Foundation.Metadata.RemoteAsync]
public IAsyncAction SignOutAsync(string clientId);
function signOutAsync(clientId)
Public Function SignOutAsync (clientId As String) As IAsyncAction

Parameters

clientId
String

Platform::String

winrt::hstring

The Id of the client.

Returns

This method does not return a value.

Attributes

Remarks

This method is app-specific and applies only to a single device. It will not remove the account from Windows or sign out the account on other devices.

See also

Applies to