Nucleus .Net Core CMS

Models.Configuration.MachineOptions Class

Namespace: Nucleus.Abstractions.Models.Configuration
Assembly: Nucleus.Abstractions.dll
Represents top level Nucleus configuration options.
Troubleshooting/emergency setting to disable multi-factor authentication. This is intended to be used in an emergency when a system administrator has lost access to their MFA provider and cannot log in to disable MFA for their account. Setting this value to true will disable MFA for all users.
The overidden machine name from Nucleus:MachineName. If not present, defaults to Environment.MachineName
Remarks
In an Azure App service, the machine name changes over time. Users may override the machine name used by instrumentation, logging and the task scheduler in appSettings so that a consistent value is used.
Configuration file section key
SetMachineName (String value)
Sets the machine name to the specified value.
Parameters
Name Type
value String

Machine name

Remarks
This function is intended for use in a workaround to facilitate startup logging, and should not be called by anything except LoggingBuilderExtensions.ConfigureTextFileLogger.