WebAuthenticationBroker.AuthenticateSilentlyAsync Method

Definition

Overloads

AuthenticateSilentlyAsync(Uri)

Starts the asynchronous authentication operation silently (no UI will be shown) with one input. You can call this method multiple times in a single application or across multiple applications at the same time.

AuthenticateSilentlyAsync(Uri, WebAuthenticationOptions)

Starts the asynchronous authentication operation silently (no UI will be shown) with two inputs. You can call this method multiple times in a single application or across multiple applications at the same time.

AuthenticateSilentlyAsync(Uri)

Starts the asynchronous authentication operation silently (no UI will be shown) with one input. You can call this method multiple times in a single application or across multiple applications at the same time.

public:
 static IAsyncOperation<WebAuthenticationResult ^> ^ AuthenticateSilentlyAsync(Uri ^ requestUri);
/// [Windows.Foundation.Metadata.Overload("AuthenticateSilentlyAsync")]
/// [Windows.Foundation.Metadata.RemoteAsync]
 static IAsyncOperation<WebAuthenticationResult> AuthenticateSilentlyAsync(Uri const& requestUri);
[Windows.Foundation.Metadata.Overload("AuthenticateSilentlyAsync")]
[Windows.Foundation.Metadata.RemoteAsync]
public static IAsyncOperation<WebAuthenticationResult> AuthenticateSilentlyAsync(System.Uri requestUri);
function authenticateSilentlyAsync(requestUri)
Public Shared Function AuthenticateSilentlyAsync (requestUri As Uri) As IAsyncOperation(Of WebAuthenticationResult)

Parameters

requestUri
Uri Uri

The starting URI of the web service. This URI must be a secure address of https://.

Returns

The way to query the status and get the results of the authentication operation. If you are getting an invalid parameter error, the most common cause is that you are not using HTTPS for the requestUri parameter.

Attributes

See also

Applies to

AuthenticateSilentlyAsync(Uri, WebAuthenticationOptions)

Starts the asynchronous authentication operation silently (no UI will be shown) with two inputs. You can call this method multiple times in a single application or across multiple applications at the same time.

public:
 static IAsyncOperation<WebAuthenticationResult ^> ^ AuthenticateSilentlyAsync(Uri ^ requestUri, WebAuthenticationOptions options);
/// [Windows.Foundation.Metadata.Overload("AuthenticateSilentlyWithOptionsAsync")]
/// [Windows.Foundation.Metadata.RemoteAsync]
 static IAsyncOperation<WebAuthenticationResult> AuthenticateSilentlyAsync(Uri const& requestUri, WebAuthenticationOptions const& options);
[Windows.Foundation.Metadata.Overload("AuthenticateSilentlyWithOptionsAsync")]
[Windows.Foundation.Metadata.RemoteAsync]
public static IAsyncOperation<WebAuthenticationResult> AuthenticateSilentlyAsync(System.Uri requestUri, WebAuthenticationOptions options);
function authenticateSilentlyAsync(requestUri, options)
Public Shared Function AuthenticateSilentlyAsync (requestUri As Uri, options As WebAuthenticationOptions) As IAsyncOperation(Of WebAuthenticationResult)

Parameters

requestUri
Uri Uri

The starting URI of the web service. This URI must be a secure address of https://.

options
WebAuthenticationOptions

The options for the authentication operation.

Returns

The way to query the status and get the results of the authentication operation. If you are getting an invalid parameter error, the most common cause is that you are not using HTTPS for the requestUri parameter.

Attributes

See also

Applies to