Freigeben über


AuthSchemeRegistry.GetAuthScheme(String, IHttpParams) Method

Definition

Gets the IAuthScheme with the given name.

[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

Parameters

name
String

the IAuthScheme identifier

params
IHttpParams

the IHttpParams for the authentication scheme.

Returns

Attributes

Exceptions

if a scheme with the given name cannot be found

Remarks

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to