C# Class FrannHammer.DataSynchro.Models.UserModel

Afficher le fichier Open project: Frannsoft/FrannHammer Class Usage Examples

Méthodes publiques

Méthode Description
LoginAs ( string username, string password, string baseUrl ) : Task
Logout ( ) : void

Returns true if user was logged out, false if failed to logout.

Private Methods

Méthode Description
UserModel ( HttpClient loggedInClient, string username ) : System.Net.Http

Method Details

LoginAs() public static méthode

public static LoginAs ( string username, string password, string baseUrl ) : Task
username string
password string
baseUrl string
Résultat Task

Logout() public méthode

Returns true if user was logged out, false if failed to logout.
public Logout ( ) : void
Résultat void