CallbackFactory { get; init; } =
path => new LoopbackCallbackListener(path);
/// Whether provider metadata must be served over HTTPS. Only false for local development.
public bool RequireHttpsMetadata { get; init; } = true;
/// How long to wait for the user to finish in the browser.
///
/// Generous, because the user may have to find a password manager, complete a second factor, or
/// approve a push notification on another device.
///
public TimeSpan BrowserTimeout { get; init; } = TimeSpan.FromMinutes(5);
/// Page shown in the browser once the callback is captured.
public string CompletionHtml { get; init; } =
"""
DodoSSH
Signed in
You can close this tab and return to DodoSSH.
""";
}