|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Object java.lang.Enum<OAuthProviderType> org.apache.oltu.oauth2.common.OAuthProviderType
public enum OAuthProviderType
An enumeration of pre-identified and well known OAuth 2 providers, along with their authorization and token endpoints.
Enum Constant Summary | |
---|---|
FACEBOOK
|
|
FOURSQUARE
|
|
GITHUB
|
|
GOOGLE
|
|
INSTAGRAM
|
|
LINKEDIN
|
|
MICROSOFT
|
|
PAYPAL
|
|
REDDIT
|
|
SALESFORCE
|
|
YAMMER
|
Method Summary | |
---|---|
String |
getAuthzEndpoint()
Get the authorization endpoint |
String |
getProviderName()
Get the provider name |
String |
getTokenEndpoint()
Get the access token endpoint |
static OAuthProviderType |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static OAuthProviderType[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final OAuthProviderType FACEBOOK
public static final OAuthProviderType FOURSQUARE
public static final OAuthProviderType GITHUB
public static final OAuthProviderType GOOGLE
public static final OAuthProviderType INSTAGRAM
public static final OAuthProviderType LINKEDIN
public static final OAuthProviderType MICROSOFT
public static final OAuthProviderType PAYPAL
public static final OAuthProviderType REDDIT
public static final OAuthProviderType SALESFORCE
public static final OAuthProviderType YAMMER
Method Detail |
---|
public static OAuthProviderType[] values()
for (OAuthProviderType c : OAuthProviderType.values()) System.out.println(c);
public static OAuthProviderType valueOf(String name)
name
- the name of the enum constant to be returned.
IllegalArgumentException
- if this enum type has no constant
with the specified name
NullPointerException
- if the argument is nullpublic String getProviderName()
public String getAuthzEndpoint()
public String getTokenEndpoint()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |