HttpCredentialsHeaderValue.Parameters HttpCredentialsHeaderValue.Parameters HttpCredentialsHeaderValue.Parameters HttpCredentialsHeaderValue.Parameters HttpCredentialsHeaderValue.Parameters Property

Definition

Gets a set of name/value pairs included in the Authorization or Proxy-Authorization HTTP header.

public : IVector<HttpNameValueHeaderValue> Parameters { get; }
IVector<HttpNameValueHeaderValue> Parameters();
public IList<HttpNameValueHeaderValue> Parameters { get; }
Public ReadOnly Property Parameters As IList<HttpNameValueHeaderValue>
var iList = httpCredentialsHeaderValue.parameters;

Property Value

IList<HttpNameValueHeaderValue> IList<HttpNameValueHeaderValue> IList<HttpNameValueHeaderValue>

A set of name/value pairs.

Remarks

The Parameters property gets a set of name/value pairs of the credentials containing the authentication information of the user agent for the resource being requested.

An HttpCredentialsHeaderValue object has a Scheme and either a Token or a Parameters list. So either the Parameters property is an empty collection or the Token property is an empty string.