org.springframework.security.oauth.common
Enum OAuthProviderParameter

java.lang.Object
  extended by java.lang.Enum<OAuthProviderParameter>
      extended by org.springframework.security.oauth.common.OAuthProviderParameter
All Implemented Interfaces:
Serializable, Comparable<OAuthProviderParameter>

public enum OAuthProviderParameter
extends Enum<OAuthProviderParameter>

Parameters that can be used by the provider.

Author:
Ryan Heaton

Enum Constant Summary
oauth_callback_confirmed
          Confirmation of the OAuth callback.
oauth_token
          The oauth token.
oauth_token_secret
          The oauth token secret.
oauth_verifier
          Verifier
 
Method Summary
static OAuthProviderParameter valueOf(String name)
          Returns the enum constant of this type with the specified name.
static OAuthProviderParameter[] 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

oauth_token

public static final OAuthProviderParameter oauth_token
The oauth token.


oauth_token_secret

public static final OAuthProviderParameter oauth_token_secret
The oauth token secret.


oauth_callback_confirmed

public static final OAuthProviderParameter oauth_callback_confirmed
Confirmation of the OAuth callback.


oauth_verifier

public static final OAuthProviderParameter oauth_verifier
Verifier

Method Detail

values

public static OAuthProviderParameter[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (OAuthProviderParameter c : OAuthProviderParameter.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static OAuthProviderParameter valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
IllegalArgumentException - if this enum type has no constant with the specified name
NullPointerException - if the argument is null


Copyright © 2012. All Rights Reserved.