//========================================================================
//Copyright 2007-2009 David Yu dyuproject@gmail.com
//------------------------------------------------------------------------
//Licensed under the Apache License, Version 2.0 (the "License");
//you may not use this file except in compliance with the License.
//You may obtain a copy of the License at 
//http://www.apache.org/licenses/LICENSE-2.0
//Unless required by applicable law or agreed to in writing, software
//distributed under the License is distributed on an "AS IS" BASIS,
//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
//See the License for the specific language governing permissions and
//limitations under the License.
//========================================================================

package com.dyuproject.oauth;

/**
 * OAuth constants
 * 
 * @author David Yu
 * @created May 29, 2009
 */

public abstract class Constants
{
    
    public static final String ENCODING = "UTF-8";
    
    public static final String OAUTH_CONSUMER_KEY = "oauth_consumer_key";
    
    public static final String OAUTH_SIGNATURE_METHOD = "oauth_signature_method";
    
    public static final String OAUTH_SIGNATURE = "oauth_signature";
    
    public static final String OAUTH_TIMESTAMP = "oauth_timestamp";
    
    public static final String OAUTH_NONCE = "oauth_nonce";
    
    public static final String OAUTH_VERSION = "oauth_version";
    
    public static final String OAUTH_TOKEN = "oauth_token";
    
    public static final String OAUTH_TOKEN_SECRET = "oauth_token_secret";
    
    public static final String OAUTH_CALLBACK = "oauth_callback";
    
    public static final String OAUTH_PROBLEM = "oauth_problem";
    
    public static final String OAUTH_VERIFIER = "oauth_verifier";
    
    public static final String PREFIX = "oauth_";
    
    public static final String CURRENT_VERSION = "1.0";

}

//========================================================================
//Copyright 2007-2009 David Yu dyuproject@gmail.com
//------------------------------------------------------------------------
//Licensed under the Apache License, Version 2.0 (the "License");
//you may not use this file except in compliance with the License.
//You may obtain a copy of the License at 
//http://www.apache.org/licenses/LICENSE-2.0
//Unless required by applicable law or agreed to in writing, software
//distributed under the License is distributed on an "AS IS" BASIS,
//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
//See the License for the specific language governing permissions and
//limitations under the License.
//========================================================================

package com.dyuproject.oauth;

/**
 * OAuth constants
 * 
 * @author David Yu
 * @created May 29, 2009
 */

public abstract class Constants
{
    
    public static final String ENCODING = "UTF-8";
    
    public static final String OAUTH_CONSUMER_KEY = "oauth_consumer_key";
    
    public static final String OAUTH_SIGNATURE_METHOD = "oauth_signature_method";
    
    public static final String OAUTH_SIGNATURE = "oauth_signature";
    
    public static final String OAUTH_TIMESTAMP = "oauth_timestamp";
    
    public static final String OAUTH_NONCE = "oauth_nonce";
    
    public static final String OAUTH_VERSION = "oauth_version";
    
    public static final String OAUTH_TOKEN = "oauth_token";
    
    public static final String OAUTH_TOKEN_SECRET = "oauth_token_secret";
    
    public static final String OAUTH_CALLBACK = "oauth_callback";
    
    public static final String OAUTH_CALLBACK_CONFIRMED = "oauth_callback_confirmed";
    
    public static final String OAUTH_PROBLEM = "oauth_problem";
    
    public static final String OAUTH_VERIFIER = "oauth_verifier";
    
    public static final String PREFIX = "oauth_";
    
    public static final String CURRENT_VERSION = "1.0";

}

add oauth_callback_confirmed constant