|
4 | 4 | package com.microsoft.aad.msal4j; |
5 | 5 |
|
6 | 6 | public class TestConstants { |
7 | | - public final static String KEYVAULT_DEFAULT_SCOPE = "https://vault.azure.net/.default"; |
8 | | - public final static String MSIDLAB_DEFAULT_SCOPE = "https://request.msidlab.com/.default"; |
9 | | - public final static String MSIDLAB_VAULT_URL = "https://msidlabs.vault.azure.net/"; |
10 | | - public final static String MSIDLAB_CLIENT_ID = "f62c5ae3-bf3a-4af5-afa8-a68b800396e9"; |
11 | | - public final static String GRAPH_DEFAULT_SCOPE = "https://graph.windows.net/.default"; |
12 | | - public final static String USER_READ_SCOPE = "user.read"; |
13 | | - public final static String DEFAULT_SCOPE = ".default"; |
14 | | - public final static String B2C_LAB_SCOPE = "https://msidlabb2c.onmicrosoft.com/msaapp/user_impersonation"; |
15 | | - public final static String B2C_CONFIDENTIAL_CLIENT_APP_SECRETID = "MSIDLABB2C-MSAapp-AppSecret"; |
16 | | - public final static String B2C_CONFIDENTIAL_CLIENT_LAB_APP_ID = "MSIDLABB2C-MSAapp-AppID"; |
17 | | - |
18 | | - public final static String MICROSOFT_AUTHORITY_HOST = "https://login.microsoftonline.com/"; |
19 | | - public final static String MICROSOFT_AUTHORITY_BASIC_HOST = "login.microsoftonline.com"; |
20 | | - public final static String MICROSOFT_AUTHORITY_HOST_WITH_PORT = "https://login.microsoftonline.com:443/"; |
21 | | - public final static String ARLINGTON_MICROSOFT_AUTHORITY_HOST = "https://login.microsoftonline.us/"; |
22 | | - public final static String MICROSOFT_AUTHORITY_TENANT = "msidlab4.onmicrosoft.com"; |
23 | | - public final static String ARLINGTON_AUTHORITY_TENANT = "arlmsidlab1.onmicrosoft.us"; |
24 | | - |
25 | | - public final static String ORGANIZATIONS_AUTHORITY = MICROSOFT_AUTHORITY_HOST + "organizations/"; |
26 | | - public final static String COMMON_AUTHORITY = MICROSOFT_AUTHORITY_HOST + "common/"; |
27 | | - public final static String CONSUMERS_AUTHORITY = MICROSOFT_AUTHORITY_HOST + "consumers/"; |
28 | | - public final static String COMMON_AUTHORITY_WITH_PORT = MICROSOFT_AUTHORITY_HOST_WITH_PORT + "msidlab4.onmicrosoft.com"; |
29 | | - public final static String MICROSOFT_AUTHORITY = MICROSOFT_AUTHORITY_HOST + "microsoft.onmicrosoft.com"; |
30 | | - public final static String TENANT_SPECIFIC_AUTHORITY = MICROSOFT_AUTHORITY_HOST + MICROSOFT_AUTHORITY_TENANT; |
31 | | - public final static String REGIONAL_MICROSOFT_AUTHORITY_BASIC_HOST_WESTUS = "westus.login.microsoft.com"; |
32 | | - |
33 | | - public final static String ARLINGTON_ORGANIZATIONS_AUTHORITY = ARLINGTON_MICROSOFT_AUTHORITY_HOST + "organizations/"; |
34 | | - public final static String ARLINGTON_TENANT_SPECIFIC_AUTHORITY = ARLINGTON_MICROSOFT_AUTHORITY_HOST + ARLINGTON_AUTHORITY_TENANT; |
35 | | - public final static String ARLINGTON_COMMON_AUTHORITY = ARLINGTON_MICROSOFT_AUTHORITY_HOST + "common/"; |
36 | | - public final static String ARLINGTON_GRAPH_DEFAULT_SCOPE = "https://graph.microsoft.us/.default"; |
37 | | - |
38 | | - public final static String B2C_AUTHORITY = "https://msidlabb2c.b2clogin.com/msidlabb2c.onmicrosoft.com/"; |
39 | | - public final static String B2C_AUTHORITY_LEGACY_FORMAT = "https://msidlabb2c.b2clogin.com/tfp/msidlabb2c.onmicrosoft.com/"; |
40 | | - |
41 | | - public final static String B2C_ROPC_POLICY = "B2C_1_ROPC_Auth"; |
42 | | - public final static String B2C_SIGN_IN_POLICY = "B2C_1_SignInPolicy"; |
43 | | - public final static String B2C_AUTHORITY_SIGN_IN = B2C_AUTHORITY + B2C_SIGN_IN_POLICY; |
44 | | - public final static String B2C_AUTHORITY_ROPC = B2C_AUTHORITY + B2C_ROPC_POLICY; |
45 | | - public final static String B2C_READ_SCOPE = "https://msidlabb2c.onmicrosoft.com/msidlabb2capi/read"; |
46 | | - public final static String B2C_MICROSOFTLOGIN_AUTHORITY = "https://msidlabb2c.b2clogin.com/tfp/msidlabb2c.onmicrosoft.com/"; |
47 | | - public final static String B2C_MICROSOFTLOGIN_ROPC = B2C_MICROSOFTLOGIN_AUTHORITY + B2C_ROPC_POLICY; |
48 | | - public final static String B2C_UPN = "[email protected]"; |
49 | | - |
50 | | - public final static String LOCALHOST = "http://localhost:"; |
51 | | - |
52 | | - public final static String ADFS_AUTHORITY = "https://fs.msidlab8.com/adfs/"; |
53 | | - public final static String ADFS_SCOPE = USER_READ_SCOPE; |
54 | | - public final static String ADFS_APP_ID = "PublicClientId"; |
55 | | - |
56 | | - public final static String AUTHORITY_PUBLIC_TENANT_SPECIFIC = "https://login.microsoftonline.com/" + MICROSOFT_AUTHORITY_TENANT; |
| 7 | + public static final String KEYVAULT_DEFAULT_SCOPE = "https://vault.azure.net/.default"; |
| 8 | + public static final String MSIDLAB_DEFAULT_SCOPE = "https://request.msidlab.com/.default"; |
| 9 | + public static final String MSIDLAB_VAULT_URL = "https://msidlabs.vault.azure.net/"; |
| 10 | + public static final String MSIDLAB_CLIENT_ID = "f62c5ae3-bf3a-4af5-afa8-a68b800396e9"; |
| 11 | + public static final String GRAPH_DEFAULT_SCOPE = "https://graph.windows.net/.default"; |
| 12 | + public static final String USER_READ_SCOPE = "user.read"; |
| 13 | + public static final String DEFAULT_SCOPE = ".default"; |
| 14 | + public static final String B2C_LAB_SCOPE = "https://msidlabb2c.onmicrosoft.com/msaapp/user_impersonation"; |
| 15 | + public static final String B2C_CONFIDENTIAL_CLIENT_APP_SECRETID = "MSIDLABB2C-MSAapp-AppSecret"; |
| 16 | + public static final String B2C_CONFIDENTIAL_CLIENT_LAB_APP_ID = "MSIDLABB2C-MSAapp-AppID"; |
| 17 | + |
| 18 | + public static final String MICROSOFT_AUTHORITY_HOST = "https://login.microsoftonline.com/"; |
| 19 | + public static final String MICROSOFT_AUTHORITY_BASIC_HOST = "login.microsoftonline.com"; |
| 20 | + public static final String MICROSOFT_AUTHORITY_HOST_WITH_PORT = "https://login.microsoftonline.com:443/"; |
| 21 | + public static final String ARLINGTON_MICROSOFT_AUTHORITY_HOST = "https://login.microsoftonline.us/"; |
| 22 | + public static final String MICROSOFT_AUTHORITY_TENANT = "msidlab4.onmicrosoft.com"; |
| 23 | + public static final String ARLINGTON_AUTHORITY_TENANT = "arlmsidlab1.onmicrosoft.us"; |
| 24 | + |
| 25 | + public static final String ORGANIZATIONS_AUTHORITY = MICROSOFT_AUTHORITY_HOST + "organizations/"; |
| 26 | + public static final String COMMON_AUTHORITY = MICROSOFT_AUTHORITY_HOST + "common/"; |
| 27 | + public static final String CONSUMERS_AUTHORITY = MICROSOFT_AUTHORITY_HOST + "consumers/"; |
| 28 | + public static final String COMMON_AUTHORITY_WITH_PORT = MICROSOFT_AUTHORITY_HOST_WITH_PORT + "msidlab4.onmicrosoft.com"; |
| 29 | + public static final String MICROSOFT_AUTHORITY = MICROSOFT_AUTHORITY_HOST + "microsoft.onmicrosoft.com"; |
| 30 | + public static final String TENANT_SPECIFIC_AUTHORITY = MICROSOFT_AUTHORITY_HOST + MICROSOFT_AUTHORITY_TENANT; |
| 31 | + public static final String REGIONAL_MICROSOFT_AUTHORITY_BASIC_HOST_WESTUS = "westus.login.microsoft.com"; |
| 32 | + |
| 33 | + public static final String ARLINGTON_ORGANIZATIONS_AUTHORITY = ARLINGTON_MICROSOFT_AUTHORITY_HOST + "organizations/"; |
| 34 | + public static final String ARLINGTON_TENANT_SPECIFIC_AUTHORITY = ARLINGTON_MICROSOFT_AUTHORITY_HOST + ARLINGTON_AUTHORITY_TENANT; |
| 35 | + public static final String ARLINGTON_COMMON_AUTHORITY = ARLINGTON_MICROSOFT_AUTHORITY_HOST + "common/"; |
| 36 | + public static final String ARLINGTON_GRAPH_DEFAULT_SCOPE = "https://graph.microsoft.us/.default"; |
| 37 | + |
| 38 | + public static final String B2C_AUTHORITY = "https://msidlabb2c.b2clogin.com/msidlabb2c.onmicrosoft.com/"; |
| 39 | + public static final String B2C_AUTHORITY_LEGACY_FORMAT = "https://msidlabb2c.b2clogin.com/tfp/msidlabb2c.onmicrosoft.com/"; |
| 40 | + |
| 41 | + public static final String B2C_ROPC_POLICY = "B2C_1_ROPC_Auth"; |
| 42 | + public static final String B2C_SIGN_IN_POLICY = "B2C_1_SignInPolicy"; |
| 43 | + public static final String B2C_AUTHORITY_SIGN_IN = B2C_AUTHORITY + B2C_SIGN_IN_POLICY; |
| 44 | + public static final String B2C_AUTHORITY_ROPC = B2C_AUTHORITY + B2C_ROPC_POLICY; |
| 45 | + public static final String B2C_READ_SCOPE = "https://msidlabb2c.onmicrosoft.com/msidlabb2capi/read"; |
| 46 | + public static final String B2C_MICROSOFTLOGIN_AUTHORITY = "https://msidlabb2c.b2clogin.com/tfp/msidlabb2c.onmicrosoft.com/"; |
| 47 | + public static final String B2C_MICROSOFTLOGIN_ROPC = B2C_MICROSOFTLOGIN_AUTHORITY + B2C_ROPC_POLICY; |
| 48 | + public static final String B2C_UPN = "[email protected]"; |
| 49 | + |
| 50 | + public static final String LOCALHOST = "http://localhost:"; |
| 51 | + |
| 52 | + public static final String ADFS_AUTHORITY = "https://fs.msidlab8.com/adfs/"; |
| 53 | + public static final String ADFS_SCOPE = USER_READ_SCOPE; |
| 54 | + public static final String ADFS_APP_ID = "PublicClientId"; |
| 55 | + |
| 56 | + public static final String AUTHORITY_PUBLIC_TENANT_SPECIFIC = "https://login.microsoftonline.com/" + MICROSOFT_AUTHORITY_TENANT; |
57 | 57 | } |
0 commit comments