//  Copyright (c) Microsoft Corporation.
//  All rights reserved.
//
//  This code is licensed under the MIT License.
//
//  Permission is hereby granted, free of charge, to any person obtaining a copy
//  of this software and associated documentation files(the "Software"), to deal
//  in the Software without restriction, including without limitation the rights
//  to use, copy, modify, merge, publish, distribute, sublicense, and / or sell
//  copies of the Software, and to permit persons to whom the Software is
//  furnished to do so, subject to the following conditions :
//
//  The above copyright notice and this permission notice shall be included in
//  all copies or substantial portions of the Software.
//
//  THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
//  IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
//  FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
//  AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
//  LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
//  OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
//  THE SOFTWARE.

package com.microsoft.aad.adal.example.userappwithbroker;

public class Constants {
    enum AuthorityType {
        AAD_COMMON("https://login.microsoftonline.com/common"),
        AAD_MSDEVEX("https://login.microsoftonline.com/msdevex.onmicrosoft.com"),
        AAD_GUEST("https://login.microsoftonline.com/nomfaad.onmicrosoft.com"),
        AAD_WINDOWS_NET("https://login.windows.net/common");

        private final String text;
        AuthorityType(String s) {
            text = s;
        }
        public String getText() {
            return text;
        }
    }

    enum DataProfile {
        GRAPH("https://graph.windows.net"),
        SHAREPOINT_MS_DEV("https://msdevex-my.sharepoint.com"),
        SHAREPOINT("00000003-0000-0ff1-ce00-000000000000"),
        OFFICE_ONEDRIVE("6a9b9266-8161-4a7b-913a-a9eda19da220"),
        SIMPLE("00000002-0000-0000-c000-000000000000");


        private final String text;
        DataProfile(String s) {
            text = s;
        }
        public String getText() {
            return text;
        }
    }


    enum ClientId {
        ONEDRIVE("af124e86-4e96-495a-b70a-90f90ab96707"),
        OFFICE("d3590ed6-52b3-4102-aeff-aad2292ab01c"),
        APPCHECK2_BF("f5d01c1c-abe6-4207-ae2d-5bc9af251724"),
        GUESTCLIENT("ea5c8087-2476-489c-ae03-ad44a2ac399d"),
        ADFSV4("4b0db8c2-9f26-4417-8bde-3f0e3656f8e0"),
        ADFSV3("68a10fc3-ead9-41b8-ac5e-5b78af044736"),
        ADFSV2("55311830-5dd0-4808-847b-77fdd1034b8c"),
        PING("6b748729-d940-4482-8724-5eb87a817a10"),
        SHIBBOLETH("d518483c-c15b-4a00-9f59-cff3ffc1077b");

        private final String text;
        ClientId(String s) {
            text = s;
        }
        public String getText() {
            return text;
        }
    }

    enum RedirectUri {
        Regular(BuildConfig.REGULAR_REDIDRECT_URI),
        Regular2("msauth://com.microsoft.aad.adal.userappwithbroker/L8kGVGYgNOaxbhn9Y7vR%2F6LIEG8%3D"),
        Broker("urn:ietf:wg:oauth:2.0:oob"),
        LABS("msauth://com.microsoft.aad.adal.userappwithbroker/2%2BQqCWt1ilKg0IrfKT6CkdMpPqk%3D");

        private final String text;
        RedirectUri(String s) {
            text = s;
        }
        public String getText() {
            return text;
        }
    }
}

@@ -1389,74 +1389,199 @@
     
-AAD_MSDEVEX(%22https://login.microsoftonline.com/msdevex.onmicrosoft
+MSID_LAB2(%22https://login.microsoftonline.com/msidlab2.com%22),%0A        MSID_LAB3(%22https://login.microsoftonline.com/msidlab3.com%22),%0A        MSID_LAB4(%22https://login.microsoftonline.com/msidlab4
 .com
@@ -1596,14 +1596,21 @@
     
-AAD_GU
+MSID_BLACKFOR
 EST(
@@ -1644,19 +1644,195 @@
 ine.
-com/nomfaad
+de/blfmsidlab1.onmicrosoft.de%22),%0A        MSID_FAIRFAX(%22https://login.microsoftonline.us/ffxmsidlab1.onmicrosoft.com%22),%0A        MSID_ARLINGTON(%22https://login.microsoftonline.us/arlmsidlab1
 .onm
@@ -1832,35 +1832,34 @@
 ab1.onmicrosoft.
-com
+us
 %22),%0A        AAD_

Add more authorities to ADAL test app (#1458)