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