public bool Authenticate(string email, SecureString password, bool offline, bool useSessionID) { if (transport != null) { transport.Throttled -= new ThottledEventHandler(instance_Throttled); } transport = getTransport(email); cacheService = new CacheService(email); Offline = offline; if (offline) { return(true); } transport.Throttled += new ThottledEventHandler(instance_Throttled); onAuthenticate(POEEventState.BeforeEvent, email); transport.Authenticate(email, password, useSessionID); onAuthenticate(POEEventState.AfterEvent, email); return(true); }
public bool Authenticate(string email, SecureString password, bool offline, bool useSessionID) { if (transport != null) transport.Throttled -= new ThottledEventHandler(instance_Throttled); transport = getTransport(email); cacheService = new CacheService(email); Offline = offline; if (offline) return true; transport.Throttled += new ThottledEventHandler(instance_Throttled); onAuthenticate(POEEventState.BeforeEvent, email); transport.Authenticate(email, password, useSessionID); onAuthenticate(POEEventState.AfterEvent, email); return true; }
public bool Authenticate(string email, SecureString password) { return(_innerTranport.Authenticate(email, password)); }
public bool Authenticate(string email, SecureString password, bool useSessionID) { return innerTranport.Authenticate(email, password, useSessionID); }
public bool Authenticate(string email, SecureString password, bool useSessionID, string ggcookie = "") { return(innerTranport.Authenticate(email, password, useSessionID, ggcookie)); }