Search in sources :

Example 6 with AzureActiveDirectoryAudience

use of com.microsoft.identity.common.internal.authorities.AzureActiveDirectoryAudience in project microsoft-authentication-library-common-for-android by AzureAD.

the class AudienceDefaultPreProductionCloudUrlTest method test_AllAccountsDefaultCloudUrl.

@Test
public void test_AllAccountsDefaultCloudUrl() {
    AzureActiveDirectoryAudience audience = new AllAccounts();
    Assert.assertEquals(AzureActiveDirectoryEnvironment.PREPRODUCTION_CLOUD_URL, audience.getCloudUrl());
}
Also used : AllAccounts(com.microsoft.identity.common.internal.authorities.AllAccounts) AzureActiveDirectoryAudience(com.microsoft.identity.common.internal.authorities.AzureActiveDirectoryAudience) Test(org.junit.Test)

Example 7 with AzureActiveDirectoryAudience

use of com.microsoft.identity.common.internal.authorities.AzureActiveDirectoryAudience in project microsoft-authentication-library-common-for-android by AzureAD.

the class AudienceDefaultPreProductionCloudUrlTest method test_AccountsInOneOrganizationDefaultCloudUrl.

@Test
public void test_AccountsInOneOrganizationDefaultCloudUrl() {
    AzureActiveDirectoryAudience audience = new AccountsInOneOrganization();
    Assert.assertEquals(AzureActiveDirectoryEnvironment.PREPRODUCTION_CLOUD_URL, audience.getCloudUrl());
}
Also used : AzureActiveDirectoryAudience(com.microsoft.identity.common.internal.authorities.AzureActiveDirectoryAudience) AccountsInOneOrganization(com.microsoft.identity.common.internal.authorities.AccountsInOneOrganization) Test(org.junit.Test)

Example 8 with AzureActiveDirectoryAudience

use of com.microsoft.identity.common.internal.authorities.AzureActiveDirectoryAudience in project microsoft-authentication-library-common-for-android by AzureAD.

the class AudienceDefaultCloudUrlTest method test_AllAccountsDefaultCloudUrl.

@Test
public void test_AllAccountsDefaultCloudUrl() {
    AzureActiveDirectoryAudience audience = new AllAccounts();
    Assert.assertEquals(AzureActiveDirectoryEnvironment.PRODUCTION_CLOUD_URL, audience.getCloudUrl());
}
Also used : AllAccounts(com.microsoft.identity.common.internal.authorities.AllAccounts) AzureActiveDirectoryAudience(com.microsoft.identity.common.internal.authorities.AzureActiveDirectoryAudience) Test(org.junit.Test)

Aggregations

AzureActiveDirectoryAudience (com.microsoft.identity.common.internal.authorities.AzureActiveDirectoryAudience)8 Test (org.junit.Test)8 AllAccounts (com.microsoft.identity.common.internal.authorities.AllAccounts)7 AccountsInOneOrganization (com.microsoft.identity.common.internal.authorities.AccountsInOneOrganization)2