-api-id | -api-type |
---|---|
M:Windows.Security.Authentication.Web.WebAuthenticationBroker.AuthenticateAsync(Windows.Security.Authentication.Web.WebAuthenticationOptions,Windows.Foundation.Uri) |
winrt method |
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.
The options for the authentication operation.
The starting URI of the web service. This URI must be a secure address of https://.
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.
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.
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