public static enum OAuth.OAuthVersion extends Enum<OAuth.OAuthVersion>
Enum Constant and Description |
---|
ONE
Value for OAuth 1.0a
|
OTHER
available for third party developer
|
TWO_DRAFT_11
Value for OAuth 2.0 draft 11
Implementation used in code coming from Scribe
|
TWO_FINAL
Value OAuth 2.0 final, RFC 6749
|
Modifier and Type | Method and Description |
---|---|
String |
getLabel() |
static OAuth.OAuthVersion |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static OAuth.OAuthVersion[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final OAuth.OAuthVersion ONE
public static final OAuth.OAuthVersion TWO_DRAFT_11
public static final OAuth.OAuthVersion TWO_FINAL
public static final OAuth.OAuthVersion OTHER
public static OAuth.OAuthVersion[] values()
for (OAuth.OAuthVersion c : OAuth.OAuthVersion.values()) System.out.println(c);
public static OAuth.OAuthVersion 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 String getLabel()
Copyright © 2012-2013. All Rights Reserved.