public enum OAuthProvider extends Enum<OAuthProvider>
| Enum Constant and Description |
|---|
TWITTER |
| Modifier and Type | Method and Description |
|---|---|
static com.google.common.collect.ImmutableSet<OAuthProvider> |
all() |
String |
getAuthRequestUrl() |
String |
getImage() |
String |
getLoginPromptMessage() |
com.metabroadcast.common.social.model.UserRef.UserNamespace |
getNamespace() |
static OAuthProvider |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static OAuthProvider[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final OAuthProvider TWITTER
public static OAuthProvider[] values()
for (OAuthProvider c : OAuthProvider.values()) System.out.println(c);
public static OAuthProvider valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant
with the specified nameNullPointerException - if the argument is nullpublic com.metabroadcast.common.social.model.UserRef.UserNamespace getNamespace()
public String getLoginPromptMessage()
public String getAuthRequestUrl()
public String getImage()
public static final com.google.common.collect.ImmutableSet<OAuthProvider> all()
Copyright © 2014. All rights reserved.