HttpChallengeHeaderValue HttpChallengeHeaderValue HttpChallengeHeaderValue HttpChallengeHeaderValue HttpChallengeHeaderValue Class

Definition

Represents authentication information used in the Proxy-Authenticate and WWW-Authenticate HTTP header values.

public : sealed class HttpChallengeHeaderValue : IStringable, IHttpChallengeHeaderValue
struct winrt::Windows::Web::Http::Headers::HttpChallengeHeaderValue : IStringable, IHttpChallengeHeaderValue
public sealed class HttpChallengeHeaderValue : IStringable, IHttpChallengeHeaderValue
Public NotInheritable Class HttpChallengeHeaderValue Implements IStringable, IHttpChallengeHeaderValue
var httpChallengeHeaderValue = new httpChallengeHeaderValue(scheme);
Attributes
Windows 10 requirements
Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)

Remarks

The HttpChallengeHeaderValue class provides support for the authentication information in Authorization, ProxyAuthorization, WWW-Authenticate, and Proxy-Authenticate HTTP header values as defined in RFC 2616 by the IETF.

Constructors

HttpChallengeHeaderValue(String) HttpChallengeHeaderValue(String) HttpChallengeHeaderValue(String) HttpChallengeHeaderValue(String) HttpChallengeHeaderValue(String)

Initializes a new instance of the HttpChallengeHeaderValue class with the scheme to use for authorization.

HttpChallengeHeaderValue(String, String) HttpChallengeHeaderValue(String, String) HttpChallengeHeaderValue(String, String) HttpChallengeHeaderValue(String, String) HttpChallengeHeaderValue(String, String)

Initializes a new instance of the HttpChallengeHeaderValue class with the scheme to use for authorization and the SPNEGO token.

Properties

Parameters Parameters Parameters Parameters Parameters

Gets the credentials that contain the authentication information of the user agent for the resource being requested.

Scheme Scheme Scheme Scheme Scheme

Gets the scheme to use for authentication.

Token Token Token Token Token

The SPNEGO token to use with the Negotiate protocol scheme.

Methods

Parse(String) Parse(String) Parse(String) Parse(String) Parse(String)

Converts a string to an HttpChallengeHeaderValue instance.

ToString() ToString() ToString() ToString() ToString()

Returns a string that represents the current HttpChallengeHeaderValue object.

TryParse(String, HttpChallengeHeaderValue) TryParse(String, HttpChallengeHeaderValue) TryParse(String, HttpChallengeHeaderValue) TryParse(String, HttpChallengeHeaderValue) TryParse(String, HttpChallengeHeaderValue)

Determines whether a string is valid HttpChallengeHeaderValue information.

See Also