语言

AuthSchemeRegistry.GetAuthScheme(String, IHttpParams) 方法

定义

获取 IAuthScheme 具有给定名称的函数。

[Android.Runtime.Register("getAuthScheme", "(Ljava/lang/String;Lorg/apache/http/params/HttpParams;)Lorg/apache/http/auth/AuthScheme;", "")]
public Org.Apache.Http.Authentication.IAuthScheme? GetAuthScheme(string? name, Org.Apache.Http.Params.IHttpParams? params);
[<Android.Runtime.Register("getAuthScheme", "(Ljava/lang/String;Lorg/apache/http/params/HttpParams;)Lorg/apache/http/auth/AuthScheme;", "")>]
member this.GetAuthScheme : string * Org.Apache.Http.Params.IHttpParams -> Org.Apache.Http.Authentication.IAuthScheme

参数

name
String

IAuthScheme标识符

params
IHttpParams

用于 IHttpParams 身份验证方案。

返回

由已注册工厂创建的身份验证方案,其中包含提供的 HTTP 参数。

特性

例外

如果找不到具有给定名称的方案

注解

本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。

适用于