C# Class HarmonyHub.HarmonyAuthentication

This class handles the Http communication with Logitech
显示文件 Open project: hdurdle/harmony Class Usage Examples

Public Methods

Method Description
GetUserAuthToken ( string username, string password, CancellationToken cancellationToken = default(CancellationToken) ) : Task

Logs in to the Logitech Harmony web service to get a UserAuthToken.

Method Details

GetUserAuthToken() public static method

Logs in to the Logitech Harmony web service to get a UserAuthToken.
public static GetUserAuthToken ( string username, string password, CancellationToken cancellationToken = default(CancellationToken) ) : Task
username string myharmony.com username
password string myharmony.com password
cancellationToken System.Threading.CancellationToken CancellationToken
return Task