Rest.GetBasicAuthentication(String, String) Method
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 Basic auth header.
public:
static System::String ^ GetBasicAuthentication(System::String ^ username, System::String ^ password);
public static string GetBasicAuthentication (string username, string password);
static member GetBasicAuthentication : string * string -> string
Public Shared Function GetBasicAuthentication (username As String, password As String) As String
Parameters
- username
- String
The Username.
- password
- String
The password.
Returns
The Basic authorization header encoded to base 64.