public override Boolean Connect() { try { this.token = api.Authenticate(this.Login, this.Password); } catch { return(false); } return(true); }
public string AuthenticateWithPassword(string login, string password) { return(diadoc.Authenticate(login, password)); }