## Uses of Interface
org.apache.http.auth.AuthScheme

- Packages that use AuthScheme
  软件包 | 描述
  --- | ---
  org.apache.http.auth | 客户端HTTP认证API。
  org.apache.http.client | 客户端HTTP通信API。
  org.apache.http.impl.auth | 标准和常规HTTP认证方案的默认实现。
  org.apache.http.impl.client | 默认HTTP客户端实现。

- - ### Uses of AuthScheme in org.apache.http.auth

    Subinterfaces of AuthScheme in org.apache.http.auth
    Modifier and Type | Interface and Description
    --- | ---
    `interface` | `ContextAwareAuthScheme` 该接口表示扩展认证方案，需要访问`HttpContext`才能生成授权字符串。

    Methods in org.apache.http.auth that return AuthScheme
    Modifier and Type | Method and Description
    --- | ---
    `AuthScheme` | AuthSchemeProvider.`create(HttpContext context)` 创建一个`AuthScheme`的实例。
    `AuthScheme` | AuthState.`getAuthScheme()` 退货实际`AuthScheme` 。
    `AuthScheme` | AuthOption.`getAuthScheme()`
    `AuthScheme` | AuthSchemeRegistry.`getAuthScheme(String name, HttpParams params)` 已过时。 获取给定名称的`authentication scheme` 。
    `AuthScheme` | AuthSchemeFactory.`newInstance(HttpParams params)` 已过时。 使用给定的HTTP参数创建一个`AuthScheme`的实例。

    Methods in org.apache.http.auth with parameters of type AuthScheme
    Modifier and Type | Method and Description
    --- | ---
    `void` | AuthState.`setAuthScheme(AuthScheme authScheme)` 已过时。 （4.2）使用`AuthState.update(AuthScheme, Credentials)`
    `void` | AuthState.`update(AuthScheme authScheme, Credentials credentials)` 使用`AuthScheme`和`Credentials`更新身份验证状态。

    Constructors in org.apache.http.auth with parameters of type AuthScheme
    Constructor and Description
    `AuthOption(AuthScheme authScheme, Credentials creds)`

  - ### Uses of AuthScheme in org.apache.http.client

    Methods in org.apache.http.client that return AuthScheme
    Modifier and Type | Method and Description
    --- | ---
    `AuthScheme` | AuthCache.`get(HttpHost host)`
    `AuthScheme` | AuthenticationHandler.`selectScheme(Map<String,Header> challenges, HttpResponse response, HttpContext context)` 已过时。 从所有可用的中选择一个认证挑战，并创建并生成能够处理该挑战的`AuthScheme`实例。

    Methods in org.apache.http.client with parameters of type AuthScheme
    Modifier and Type | Method and Description
    --- | ---
    `void` | AuthenticationStrategy.`authFailed(HttpHost authhost, AuthScheme authScheme, HttpContext context)` 在不成功的身份验证的情况下调用回调。
    `void` | AuthenticationStrategy.`authSucceeded(HttpHost authhost, AuthScheme authScheme, HttpContext context)` 在成功验证的情况下调用回调。
    `void` | AuthCache.`put(HttpHost host, AuthScheme authScheme)`

  - ### Uses of AuthScheme in org.apache.http.impl.auth

    Classes in org.apache.http.impl.auth that implement AuthScheme
    Modifier and Type | Class and Description
    --- | ---
    `class` | `AuthSchemeBase` 抽象认证方案类，用作HttpClient支持的所有认证方案的基础。
    `class` | `BasicScheme` RFC 2617定义的基本认证方案。
    `class` | `DigestScheme` Digest认证方案，如RFC 2617所定义。
    `class` | `GGSSchemeBase`
    `class` | `KerberosScheme` KERBEROS认证方案。
    `class` | `NegotiateScheme` 已过时。 （4.2）使用`SPNegoScheme`或`KerberosScheme` 。
    `class` | `NTLMScheme` NTLM是由Microsoft开发的专有认证方案，针对Windows平台进行了优化。
    `class` | `RFC2617Scheme` 抽象认证方案类为所有RFC 2617兼容认证方案奠定了基础，并提供了RFC 2617中定义的所有认证方案的通用功能。
    `class` | `SPNegoScheme` SPNEGO（简单和受保护的GSSAPI协商机制）认证方案。

    Methods in org.apache.http.impl.auth that return AuthScheme
    Modifier and Type | Method and Description
    --- | ---
    `AuthScheme` | SPNegoSchemeFactory.`create(HttpContext context)`
    `AuthScheme` | DigestSchemeFactory.`create(HttpContext context)`
    `AuthScheme` | NTLMSchemeFactory.`create(HttpContext context)`
    `AuthScheme` | BasicSchemeFactory.`create(HttpContext context)`
    `AuthScheme` | KerberosSchemeFactory.`create(HttpContext context)`
    `AuthScheme` | SPNegoSchemeFactory.`newInstance(HttpParams params)`
    `AuthScheme` | DigestSchemeFactory.`newInstance(HttpParams params)`
    `AuthScheme` | NegotiateSchemeFactory.`newInstance(HttpParams params)` 已过时。
    `AuthScheme` | NTLMSchemeFactory.`newInstance(HttpParams params)`
    `AuthScheme` | BasicSchemeFactory.`newInstance(HttpParams params)`
    `AuthScheme` | KerberosSchemeFactory.`newInstance(HttpParams params)`

  - ### Uses of AuthScheme in org.apache.http.impl.client

    Methods in org.apache.http.impl.client that return AuthScheme
    Modifier and Type | Method and Description
    --- | ---
    `AuthScheme` | BasicAuthCache.`get(HttpHost host)`
    `AuthScheme` | AbstractAuthenticationHandler.`selectScheme(Map<String,Header> challenges, HttpResponse response, HttpContext context)` 已过时。

    Methods in org.apache.http.impl.client with parameters of type AuthScheme
    Modifier and Type | Method and Description
    --- | ---
    `void` | BasicAuthCache.`put(HttpHost host, AuthScheme authScheme)`

Copyright © 1999–2017 The Apache Software Foundation. All rights reserved.

本帮助文档是使用 《谷歌翻译》翻译，请与英文版配合使用 by--QQ:654638585