Windows desktop applications
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

HttpChallengeHeaderValue class

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

Syntax


var httpChallengeHeaderValue = new Windows.Web.Http.Headers.HttpChallengeHeaderValue(string);
var httpChallengeHeaderValue = new Windows.Web.Http.Headers.HttpChallengeHeaderValue(string, string);

Members

The HttpChallengeHeaderValue class has these types of members:

Constructors

The HttpChallengeHeaderValue class has these constructors.

ConstructorDescription
HttpChallengeHeaderValue(String) Initializes a new instance of the HttpChallengeHeaderValue class with the scheme to use for authorization.
HttpChallengeHeaderValue(String, String) Initializes a new instance of the HttpChallengeHeaderValue class with the scheme to use for authorization and the SPNEGO token.

 

Methods

The HttpChallengeHeaderValue class has these methods. With C#, Visual Basic, and C++, it also inherits methods from the Object class.

MethodDescription
Parse Converts a string to an HttpChallengeHeaderValue instance.
ToString Returns a string that represents the current HttpChallengeHeaderValue object.
TryParse Determines whether a string is valid HttpChallengeHeaderValue information.

 

Properties

The HttpChallengeHeaderValue class has these properties.

PropertyAccess typeDescription

Parameters

Read-onlyGets the credentials that contain the authentication information of the user agent for the resource being requested.

Scheme

Read-onlyGets the scheme to use for authentication.

Token

Read-onlyThe SPNEGO token to use with the Negotiate protocol scheme.

 

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.

Requirements (Windows 10 device family)

Device family

Universal, introduced version 10.0.10240.0

API contract

Windows.Foundation.UniversalApiContract, introduced version 1.0

Namespace

Windows.Web.Http.Headers
Windows::Web::Http::Headers [C++]

Metadata

Windows.Foundation.UniversalApiContract.winmd

Requirements (Windows 8.x and Windows Phone 8.x)

Minimum supported client

Windows 8.1 [Windows Store apps, desktop apps]

Minimum supported server

Windows Server 2012 R2 [Windows Store apps, desktop apps]

Minimum supported phone

Windows Phone 8.1 [Windows Phone Silverlight 8.1 and Windows Runtime apps]

Namespace

Windows.Web.Http.Headers
Windows::Web::Http::Headers [C++]

Metadata

Windows.winmd

Attributes

[DualApiPartition()]
[MarshalingBehavior(Agile)]
[Threading(Both)]
[Version(0x06030000)]

See also

Object
IStringable

 

 

Show:
© 2016 Microsoft