PrepAway - Latest Free Exam Questions & Answers

How should you complete the relevant code?

DRAG DROP
You are developing a Windows Store game. The game allows for interactive online play
between users.
The game authenticates users by using the credentials of a third-party site that provides
OAuth2 authentication.
You need to implement authentication that uses an implicit grant authorization.
How should you complete the relevant code? (To answer, drag the appropriate code
segments to the correct locations in the answer area. Each code segment may be used
once, more than once, or not at all. You may need to drag the split bar between panes or
scroll to view content.)

PrepAway - Latest Free Exam Questions & Answers

Answer: See the explanation.

Explanation:

Box 1:

For implicit grant authorization we use TOKEN response type.
Box 2:

Respond with the RequestURL.

Note:
* The implicit grant flow can be used by both web-based and desktop apps. In this flow, the
client makes an authorization request to https://login.live.com/oauth20_authorize.srf with
request_type=token. This is a standard OAuth 2.0 flow.

3 Comments on “How should you complete the relevant code?


Leave a Reply