public enum AadAuthorityAudience extends java.lang.Enum<AadAuthorityAudience>
| Enum Constant and Description |
|---|
AzureAdAndPersonalMicrosoftAccount
Users with a personal Microsoft account, or a work or school account in any organization’s
Azure AD tenant.
|
AzureAdMultipleOrgs
Users with a Microsoft work or school account in any organization’s Azure AD tenant
(multi-tenant app).
|
AzureAdMyOrg
Users with a Microsoft work or school account in my organization’s Azure AD tenant
(single-tenant app).
|
PersonalMicrosoftAccount
Users with a personal Microsoft account.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getAudienceValue() |
static AadAuthorityAudience |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static AadAuthorityAudience[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AadAuthorityAudience AzureAdAndPersonalMicrosoftAccount
public static final AadAuthorityAudience AzureAdMultipleOrgs
public static final AadAuthorityAudience PersonalMicrosoftAccount
public static final AadAuthorityAudience AzureAdMyOrg
public static AadAuthorityAudience[] values()
for (AadAuthorityAudience c : AadAuthorityAudience.values()) System.out.println(c);
public static AadAuthorityAudience valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic java.lang.String getAudienceValue()