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

Applies to Windows and Windows Phone

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

Syntax


Public NotInheritable Class HttpChallengeHeaderValue
    Implements IStringable

Attributes

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

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

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

See also

Object
IStringable

 

 

Show:
© 2014 Microsoft