HttpCredentialsHeaderValue Constructors
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.
Overloads
HttpCredentialsHeaderValue(String) |
Initializes a new instance of the HttpCredentialsHeaderValue class with the scheme to use for authentication. |
HttpCredentialsHeaderValue(String, String) |
Initializes a new instance of the HttpCredentialsHeaderValue class with the scheme and user token information to use for authentication. |
HttpCredentialsHeaderValue(String)
Initializes a new instance of the HttpCredentialsHeaderValue class with the scheme to use for authentication.
public:
HttpCredentialsHeaderValue(Platform::String ^ scheme);
HttpCredentialsHeaderValue(winrt::hstring const& scheme);
public HttpCredentialsHeaderValue(string scheme);
function HttpCredentialsHeaderValue(scheme)
Public Sub New (scheme As String)
Parameters
- scheme
-
String
Platform::String
winrt::hstring
The scheme to use for authentication.
See also
Applies to
HttpCredentialsHeaderValue(String, String)
Initializes a new instance of the HttpCredentialsHeaderValue class with the scheme and user token information to use for authentication.
public:
HttpCredentialsHeaderValue(Platform::String ^ scheme, Platform::String ^ token);
HttpCredentialsHeaderValue(winrt::hstring const& scheme, winrt::hstring const& token);
public HttpCredentialsHeaderValue(string scheme, string token);
function HttpCredentialsHeaderValue(scheme, token)
Public Sub New (scheme As String, token As String)
Parameters
- scheme
-
String
Platform::String
winrt::hstring
The scheme to use for authentication.
- token
-
String
Platform::String
winrt::hstring
The user token information to use for authentication.