public enum MsaEnvironment extends java.lang.Enum<MsaEnvironment>
| Enum Constant and Description |
|---|
LIVE |
MICROSOFT_ONLINE_COMMON |
MICROSOFT_ONLINE_CONSUMERS |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getAuthorizeUrl() |
java.lang.String |
getDeviceCodeUrl() |
java.lang.String |
getNativeClientUrl() |
java.lang.String |
getTokenUrl() |
static MsaEnvironment |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static MsaEnvironment[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MsaEnvironment LIVE
public static final MsaEnvironment MICROSOFT_ONLINE_COMMON
public static final MsaEnvironment MICROSOFT_ONLINE_CONSUMERS
public static MsaEnvironment[] values()
for (MsaEnvironment c : MsaEnvironment.values()) System.out.println(c);
public static MsaEnvironment 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 getDeviceCodeUrl()
public java.lang.String getAuthorizeUrl()
public java.lang.String getTokenUrl()
public java.lang.String getNativeClientUrl()