public IdentityController(IConfiguration config) { _config = config; _settings = TotpOptions.Construct(_config); }