C# Class FrannHammer.DataSynchro.Models.UserModel

ファイルを表示 Open project: Frannsoft/FrannHammer Class Usage Examples

Public Methods

Method 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

Method Description
UserModel ( HttpClient loggedInClient, string username ) : System.Net.Http

Method Details

LoginAs() public static method

public static LoginAs ( string username, string password, string baseUrl ) : Task
username string
password string
baseUrl string
return Task

Logout() public method

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