PrepAway - Latest Free Exam Questions & Answers

Which two actions should you perform?

You have to connect your app to an online identity provider that uses OAuth authentication protocol.
The app must securely use the WebAuthenticationBroker object for authentication.
You need to ensure that the app registers with the provider.
Which two actions should you perform? Each correct answer presents part of the solution. by the online provider.

PrepAway - Latest Free Exam Questions & Answers

A.
Construct a HTTP request URI.

B.
Call the GetCurrentApplicationCallbackUri method.

C.
Call the AuthenticateAsync method.

D.
Construct a HTTPS request URI.

Explanation:
The current application callback URI is used as an implicit value of the callbackUri parameter of the
AuthenticateAsync method. However, applications need the URI value to add it to the request URI as required
The requestUri parameter must be a HTTPS address: an exception will be thrown if an HTTP address is used,
even for local testing scenarios.
https://docs.microsoft.com/en-us/uwp/api/
windows.security.authentication.web.webauthenticationbroker


Leave a Reply