C# Class HarmonyHub.HarmonyAuthentication

This class handles the Http communication with Logitech
Afficher le fichier Open project: hdurdle/harmony Class Usage Examples

Méthodes publiques

Méthode 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 méthode

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
Résultat Task