Edit

Bagikan melalui


Rest.GetBasicAuthentication(String, String) Method

Definition

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.

Applies to