/* * © Copyright IBM Corp. 2012 * * 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.ibm.sbt.security.authentication.oauth.consumer; /** * Some useful OAuth constants. * @author Philippe Riand */ public class OAConstants { public static final String OAUTH_CALLBACK = "oauth_callback"; public static final String REQUEST_TOKEN = "requestToken"; public static final String TOKEN_SECRET = "tokenSecret"; public static final String OAUTH_VERIFIER = "oauth_verifier"; public static final String OAUTH_SIGNATURE_METHOD = "oauth_signature_method"; public static final String OAUTH_TOKEN = "oauth_token"; public static final String ACCESS_TOKEN = "accessToken"; public static final String OAUTH_EXPIRES_IN = "oauth_expires_in"; public static final String OAUTH_EXPIRATION_READ = "OAUTH_EXPIRATION_READ"; public static final String OAUTH_AUTHORIZATION_EXPIRES_IN = "oauth_authorization_expires_in"; public static final String OAUTH_SESSION_HANDLE = "oauth_session_handle"; }