Skip to content

Latest commit

 

History

History
31 lines (22 loc) · 2.16 KB

webauthenticationbroker_authenticateasync_1561991399.md

File metadata and controls

31 lines (22 loc) · 2.16 KB
-api-id -api-type
M:Windows.Security.Authentication.Web.WebAuthenticationBroker.AuthenticateAsync(Windows.Security.Authentication.Web.WebAuthenticationOptions,Windows.Foundation.Uri)
winrt method

Windows.Security.Authentication.Web.WebAuthenticationBroker.AuthenticateAsync

-description

Starts the asynchronous authentication operation with two inputs. You can call this method multiple times in a single application or across multiple applications at the same time.

-parameters

-param options

The options for the authentication operation.

-param requestUri

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.

-remarks

There is no explicit callbackUri parameter in this method. The application's default URI is used internally as the terminator. For more information, see GetCurrentApplicationCallbackUri.

-examples

-see-also

GetCurrentApplicationCallbackUri, AuthenticateAsync(WebAuthenticationOptions, Uri, Uri), Authentication and user identity (JavaScript), Authentication and user identity, Quickstart: Connecting to an online identity provider (JavaScript), Web authentication broker, Windows authentication broker sample