Language

AbstractAuthenticationHandler.ParseChallenges(IHeader[]) Method

Definition

Builds a scheme-name-to-challenge map.

[Android.Runtime.Register("parseChallenges", "([Lorg/apache/http/Header;)Ljava/util/Map;", "GetParseChallenges_arrayLorg_apache_http_Header_Handler")]
protected virtual System.Collections.Generic.IDictionary<string,Org.Apache.Http.IHeader>? ParseChallenges(Org.Apache.Http.IHeader[]? headers);
[<Android.Runtime.Register("parseChallenges", "([Lorg/apache/http/Header;)Ljava/util/Map;", "GetParseChallenges_arrayLorg_apache_http_Header_Handler")>]
abstract member ParseChallenges : Org.Apache.Http.IHeader[] -> System.Collections.Generic.IDictionary<string, Org.Apache.Http.IHeader>
override this.ParseChallenges : Org.Apache.Http.IHeader[] -> System.Collections.Generic.IDictionary<string, Org.Apache.Http.IHeader>

Parameters

headers
IHeader[]

The authentication challenge headers to parse.

Returns

The headers indexed by their scheme names in lowercase, using the English locale. A later header replaces an earlier header with the same key.

Attributes

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