public ToastifyWebAuth(string scopes, string state, bool showDialog) { this.Scopes = scopes; this.State = state; this.ShowDialog = showDialog; this.authHttpServer = new AuthHttpServer(); }
public ToastifyWebAuth(Scope scopes, string state, bool showDialog) { this.Scopes = scopes.GetStringAttribute(" "); this.State = state; this.ShowDialog = showDialog; this.authHttpServer = new AuthHttpServer(); this.abortAuthEvent = new ManualResetEvent(false); }
private void DisposeAuthHttpServer(TimeSpan timeout) { this.authHttpServer?.Dispose(timeout); this.authHttpServer = null; }
public void Dispose() { this.authHttpServer?.Dispose(); this.authHttpServer = null; }