Which code snippets should you insert in Target 1, Target 2, and Target 3 to complete the code?

DRAG DROP
You are developing a Windows Store reporting app for corporate use. The app authenticates
users by using Active Directory Domain Services (AD DS) credentials.
You need to ensure that users have the option of saving their credentials when they log in to the app.
You have the following code:

Which code snippets should you insert in Target 1, Target 2, and Target 3 to complete the
code? (To answer, drag the appropriate code snippets to the correct target in the answer
area. Each code snippet 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 reporting app for corporate use. The app authenticates
users by using Active Directory Domain Services (AD DS) credentials.
You need to ensure that users have the option of saving their credentials when they log in to the app.
You have the following code:

Which code snippets should you insert in Target 1, Target 2, and Target 3 to complete the
code? (To answer, drag the appropriate code snippets to the correct target in the answer
area. Each code snippet 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:

Explanation:

Note:
* AuthenticationProtocol.Digest
The authentication protocol is digest. Credentials are returned to the caller as plaintext.
* CredentialSaveOption.hidden
The “Save credentials?” dialog box is not displayed at all.
* CredentialPicker.PickAsync
Displays a dialog box to the user and collects credentials from the user.
Incorrect:
* CredentialSaveOption.unselected
The “Save credentials?” dialog box is not selected, indicating that the user doesn’t want their
credentials saved.



Leave a Reply 3

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


TestUser01

TestUser01

AuthenticationProtocol.Digest
CredentialSaveOption.Unselected
await CredentialPicker.PickAsync(Options)