HttpCredentialsHeaderValue.Token HttpCredentialsHeaderValue.Token HttpCredentialsHeaderValue.Token HttpCredentialsHeaderValue.Token HttpCredentialsHeaderValue.Token Property

Definition

Gets the user token information used in the Authorization or Proxy-Authorization HTTP header.

public : Platform::String Token { get; }
winrt::hstring Token();
public string Token { get; }
Public ReadOnly Property Token As string
var string = httpCredentialsHeaderValue.token;

Property Value

string string string

The user token information in the Authorization or Proxy-Authorization HTTP header.

Remarks

The Token property gets a simple string with 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.