forked from microsoft/Windows-universal-samples
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathSampleConfiguration.cpp
23 lines (19 loc) · 1007 Bytes
/
SampleConfiguration.cpp
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
// Copyright (c) Microsoft. All rights reserved.
#include "pch.h"
#include "MainPage.xaml.h"
#include "SampleConfiguration.h"
using namespace SDKTemplate;
// Important Note for running this sample:
// The sample as-is will not be able to get tokens without having it's app manifest being
// modified to use the App Identity of a registered Microsoft Store/registered AAD app.
//
// See 'Related Topics' in the README.md for instructions on how to register an app.
Platform::Array<Scenario>^ MainPage::scenariosInner = ref new Platform::Array<Scenario>
{
{ "Default Account", "SDKTemplate.Scenario1_DefaultAccount" },
{ "Microsoft account", "SDKTemplate.Scenario2_Msa" },
{ "Azure Active Directory", "SDKTemplate.Scenario3_Aad" },
{ "Many Providers, One Signed In Account", "SDKTemplate.Scenario4_ManyProviders" },
{ "Many Providers, Many Signed In Accounts", "SDKTemplate.Scenario5_ManyProvidersManyAccounts" },
{ "Custom Provider", "SDKTemplate.Scenario6_CustomProvider" }
};