public enum OAuthProviderType extends java.lang.Enum<OAuthProviderType>
Enum Constant and Description |
---|
FACEBOOK |
FOURSQUARE |
GITHUB |
GOOGLE |
INSTAGRAM |
LINKEDIN |
MICROSOFT |
PAYPAL |
REDDIT |
SALESFORCE |
YAMMER |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getAuthzEndpoint()
Get the authorization endpoint
|
java.lang.String |
getProviderName()
Get the provider name
|
java.lang.String |
getTokenEndpoint()
Get the access token endpoint
|
static OAuthProviderType |
valueOf(java.lang.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.
|
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
public static OAuthProviderType[] values()
for (OAuthProviderType c : OAuthProviderType.values()) System.out.println(c);
public static OAuthProviderType 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 getProviderName()
public java.lang.String getAuthzEndpoint()
public java.lang.String getTokenEndpoint()
"Copyright © 2010 - 2020 Adobe Systems Incorporated. All Rights Reserved"