HttpCredentialsHeaderValue.Token Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
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.