001/*
002 * ====================================================================
003 * Licensed to the Apache Software Foundation (ASF) under one
004 * or more contributor license agreements.  See the NOTICE file
005 * distributed with this work for additional information
006 * regarding copyright ownership.  The ASF licenses this file
007 * to you under the Apache License, Version 2.0 (the
008 * "License"); you may not use this file except in compliance
009 * with the License.  You may obtain a copy of the License at
010 *
011 *   http://www.apache.org/licenses/LICENSE-2.0
012 *
013 * Unless required by applicable law or agreed to in writing,
014 * software distributed under the License is distributed on an
015 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
016 * KIND, either express or implied.  See the License for the
017 * specific language governing permissions and limitations
018 * under the License.
019 * ====================================================================
020 *
021 * This software consists of voluntary contributions made by many
022 * individuals on behalf of the Apache Software Foundation.  For more
023 * information on the Apache Software Foundation, please see
024 * <http://www.apache.org/>.
025 *
026 */
027
028package org.apache.http.auth.params;
029
030/**
031 * Parameter names for HTTP authentication classes.
032 *
033 * @since 4.0
034 *
035 * @deprecated (4.3) use {@link org.apache.http.client.config.RequestConfig}
036 *   and constructor parameters of
037 *   {@link org.apache.http.auth.AuthSchemeProvider}s.
038*/
039@Deprecated
040public interface AuthPNames {
041
042    /**
043     * Defines the charset to be used when encoding
044     * {@link org.apache.http.auth.Credentials}.
045     * <p>
046     * This parameter expects a value of type {@link String}.
047     */
048    public static final String CREDENTIAL_CHARSET = "http.auth.credential-charset";
049
050    /**
051     * Defines the order of preference for supported
052     *  {@link org.apache.http.auth.AuthScheme}s when authenticating with
053     *  the target host.
054     * <p>
055     * This parameter expects a value of type {@link java.util.Collection}. The
056     * collection is expected to contain {@link String} instances representing
057     * a name of an authentication scheme as returned by
058     * {@link org.apache.http.auth.AuthScheme#getSchemeName()}.
059     */
060    public static final String TARGET_AUTH_PREF = "http.auth.target-scheme-pref";
061
062    /**
063     * Defines the order of preference for supported
064     *  {@link org.apache.http.auth.AuthScheme}s when authenticating with the
065     *  proxy host.
066     * <p>
067     * This parameter expects a value of type {@link java.util.Collection}. The
068     * collection is expected to contain {@link String} instances representing
069     * a name of an authentication scheme as returned by
070     * {@link org.apache.http.auth.AuthScheme#getSchemeName()}.
071     */
072    public static final String PROXY_AUTH_PREF = "http.auth.proxy-scheme-pref";
073
074}