Aracılığıyla paylaş


HttpCredentialsHeaderValue.Token Property

Definition

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

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

Property Value

String

Platform::String

winrt::hstring

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.

Applies to