/// <summary> /// Handles the second factor required event if the Latch provider raises it /// </summary> /// <param name="sender">Source of the event</param> /// <param name="e">Event arguments containing the username and expected token</param> void LatchProvider_SecondFactorRequiredEvent(object sender, SecondFactorEventArgs e) { this.expectedToken = e.Token; this.Context.Application.Add(this.ServerTokenKey, this.expectedToken); }