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.)

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.)

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.



Leave a Reply 3

Your email address will not be published. Required fields are marked *


Google

Google

Although web sites we backlink to beneath are considerably not related to ours, we really feel they are actually really worth a go via, so possess a look.